MySQL 5.5 doesn't update with ./build script

nmb

Verified User
Joined
Sep 13, 2008
Messages
223
I tried to update yesterday. With Custombuild 1.2, it updated without any problem. However, today, with Custombuild 2.0, when I ran ./build update_versions. MySQL doesn't update as it should be. Check with versions.txt and it shows the correct version.

mysql4.1:4.1.22:37b4479951fa0cf052269d27c41ca200
mysql5.0:5.0.91:e28f93b1a1b10b028135c1d51bbd4c46
mysql5.0_release:1:
mysql5.1:5.1.67:c13a70e8694872ec56a4bbe2649fb040
mysql5.5:5.5.29:e6b9f9cb82e990bd8f0474df7462904e
mysql5.5_release:1:
 
Hello,

What do you see with:

Code:
# cd /usr/local/directadmin/custombuild/
# ./build options | grep MySQL

I see this:

Code:
# cd /usr/local/directadmin/custombuild/
# ./build options | grep MySQL
MySQL: 5.5.28
MySQL backup: yes
MySQL backup directory: /usr/local/directadmin/custombuild/mysql_backups

or with

Code:
# grep -i mysql /usr/local/directadmin/custombuild/options.conf

I see this:

Code:
# grep -i mysql /usr/local/directadmin/custombuild/options.conf
mysql=5.5
mysql_inst=yes
mysql_backup=yes
mysql_backup_dir=/usr/local/directadmin/custombuild/mysql_backups

If you see

Code:
mysql_inst=no

then you should do this:

Code:
# ./build set mysql_inst yes

And then try to update as usual.
 
One thing though, I noticed that in Custombuild 1.2, when updated MySQL, it will compile PHP again, right? But this is not the case with Custombuild 2.0. I saw it only upgraded MySQL and that was it. Is this normal?
 
One thing though, I noticed that in Custombuild 1.2, when updated MySQL, it will compile PHP again, right? But this is not the case with Custombuild 2.0. I saw it only upgraded MySQL and that was it. Is this normal?

Yes, it is normal. You no longer need to recompile PHP because we use mysqlnd driver (it connects directly using the MySQL socket file).
 
Back
Top