How to upgrade mysql with custombuild 2.0


Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"


Top Level » MySQL / MariaDB

How to upgrade mysql with custombuild 2.0Last Modified: Jan 23, 2018, 11:41 pm
To upgrade using the custombuild script, do the following:

cd /usr/local/directadmin/custombuild
./build set mysql 5.6
./build set mysql_inst mysql
./build set mysql_backup yes
./build update
./build mysql

Where mysql can be 5.1, 5.5, or 5.6.

A full raw sql backup will be run prior to the upgrade if you have mysql_backup=yes set.  It goes without saying, always make backups, either with this tool, or with other means.

After the mysql update, always recompile php.

./build php n


 
Related Helpfiles
/usr/local/mysql/bin/mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
Converting from MySQL 5.5 to MariaDB 5.5

© 2018 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST