Updating MySQL with custombuild 1.2


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


Top Level » MySQL / MariaDB

Updating MySQL with custombuild 1.2Last Modified: May 27, 2012, 1:57 pm
When updating MySQL, you must take into account which version you're updating from, and which version you're updating to.

- From MySQL 4.0.x, to 4.1.x or newer, the crypted password format changes.  If you're upgrading from 4.0.x then you'll either need to reset all password after the update, or else add "old_passwords" to the [mysqld] section of your /etc/my.cnf

- Before doing any updates of MySQL be sure to have create full backups of all databases.

If you're using CustomBuild, the update process is quite simple:

cd /usr/local/directadmin/custombuild

Edit the options.conf file, and set:

#Possible values - 5.0, 5.1, 5.5
mysql=5.1
mysql_inst=yes
mysql_backup=yes

Save/exit, then type:

./build mysql


If you're going to do it manually (only if required), the bottom portion of this guide provides some information on that:
http://help.directadmin.com/item.php?id=137

 
Related Helpfiles
How to upgrade mysql with custombuild 2.0

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