EmergencyEMERGENCY? Get 24/7 Help Now!

Rebuilding MySQL with same options

 | April 8, 2010 |  Posted In: Insight for DBAs, MySQL


Every so often I am working on the system with custom compiled MySQL. How to upgrade to the new MySQL Options while preserving as much of original compilation options as possible if original build scripts are not available ?
MySQL distribution has a great script called mysqlbug which was supposed to be used for bug submission. I never have seen anyone using it for this purpose but it is great in providing information about current built. Especially you may be looking at “Configure-Command”:

Assuming MySQL was properly built and installed these are configuration options it was built with. Be careful however – if several packages were built the configuration options will be from one of them – not always the server. As you can see this sample includes –without-server so it is probably coming from building client package. It needs to be edited out so server is built.

Peter Zaitsev

Peter managed the High Performance Group within MySQL until 2006, when he founded Percona. Peter has a Master's Degree in Computer Science and is an expert in database kernels, computer hardware, and application scaling.


Leave a Reply


Percona’s widely read Percona Data Performance blog highlights our expertise in enterprise-class software, support, consulting and managed services solutions for both MySQL® and MongoDB® across traditional and cloud-based platforms. The decades of experience represented by our consultants is found daily in numerous and relevant blog posts.

Besides specific database help, the blog also provides notices on upcoming events and webinars.
Want to get weekly updates listing the latest blog posts? Subscribe to our blog now! Submit your email address below and we’ll send you an update every Friday at 1pm ET.

No, thank you. Please do not ask me again.