Richard G
Verified User
I would like to upgrade mysql 4.1.10 to mysql 5 on a Debian machine with Directadmin Custombuild.
But I don't want to do anything wrong so if anybody could check if my procedure is oke? This is what i thought to do:
1.) Backup the mysql databases (do I do this manual of via options.conf?)
2.) from the howto:
Is this all, or do I have to check or do other things? I presume I don't need to use apt-get.
Are the 4.1.10 databases automatically converted to mysql 5? Or do I need to put the backup into the new version?
If yes, do I need to do any converting of the database to mysql 5 myself?
Or is the above procedure complete and correct?
These are lines about php and mysql from my options.conf:
Strange to that it says mysql=5.0 whilest 4.1.10 is installed. Do I need to change anything here in the options.conf prior or after the upgrade?
But I don't want to do anything wrong so if anybody could check if my procedure is oke? This is what i thought to do:
1.) Backup the mysql databases (do I do this manual of via options.conf?)
2.) from the howto:
3.) restart mysql and maybe apache.cd /usr/local/directadmin/custombuild
./build update
./build clean
./build mysql d
./build php n
Is this all, or do I have to check or do other things? I presume I don't need to use apt-get.
Are the 4.1.10 databases automatically converted to mysql 5? Or do I need to put the backup into the new version?
If yes, do I need to do any converting of the database to mysql 5 myself?
Or is the above procedure complete and correct?
These are lines about php and mysql from my options.conf:
Code:
#PHP settings. default_php possible values - 4 or 5
default_php=5
php4_cli=no
php4_cgi=no
php5_cli=yes
php5_cgi=no
zend=no
#Possible values - 4.1, 5.0 or 5.1
mysql=5.0
mysql_inst=no
mysql_backup=no
#Possible values - 1.3, 2.0 or 2.2
apache_ver=2.2
Strange to that it says mysql=5.0 whilest 4.1.10 is installed. Do I need to change anything here in the options.conf prior or after the upgrade?