How to upgrade mysql with custombuild 2.0?

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

Steps to upgrade mysql with custombuild 2.0 -

#screen -S mysql

#cd /usr/local/directadmin/custombuild

#./build set mysql 5.5

#./build set mysql_inst mysql

#./build set mysql_backup yes

#./build update

#./build mysql (where mysql can be 5.1, 5.5, or 5)

After the mysql update, always we needs recompile php.

#./build php n

Now, mysl upgrade process has been done. Check from below command -
#mysql -V

That's it!
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

MySql Database has gone away

You may come across the error "MySql Database has gone away". I came across this error while...

How to run CGI script using any directory or /~username/cgi-bin?

If you would like to force Apache to allow CGI script then just follow below simple steps - 1....

How to list all files under directory?

When there is no 'index.php' or 'index.html' file and you'd like to display all the files under...

How to reset and retrieve directadmin admin password using shell?

Steps to reset the direct admin password -1. Login to SSH with root user -#passwd admin 2. This...

How to update Apache to latest version?

Steps to update Apache to latest version -1. Please check the current version of Apache using...

Powered by WHMCompleteSolution