Rebuilding MySQL with same options

April 9, 2010
Author
Peter Zaitsev
Share this Post:

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.

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

Far
Enough.

Said no pioneer ever.
MySQL, PostgreSQL, InnoDB, MariaDB, MongoDB and Kubernetes are trademarks for their respective owners.
© 2026 Percona All Rights Reserved