Upgrade cpanel to mysql 5.1

Categories cPanel

You can upgrade from 5.0.x to 5.1.30 with cPanel scripts

edit /var/cpanel/cpanel.config

and set

mysql-version=5.1

then execute

/scripts/mysqlup

then run

/scripts/easyapache

and then

/scripts/perlinstaller –force Bundle::DBD::mysql

to reset the new install

ERROR! MySQL manager or server PID file could not be found!

Solved:

This error is caused by the my.cnf file that comes from mysql4 or an earlier version. To correct the error, enter the following commands:

mv my.cnf my.cnf.old

/etc/init.d/mysql start

Starting MySQL

SUCCESS!

Leave a Reply