truenegative
Verified User
- Joined
- Feb 16, 2006
- Messages
- 153
First, this was done on CentOS 5.5 with everything current....
I set mysql in custombuild to 5.5 first, but it didn't allow it to be upgraded....
Download MySQL rpms from the DA site:
Install them:
Then run mysql_upgrade...
Lastly rebuild php...
That's it! Worked on my system!
I set mysql in custombuild to 5.5 first, but it didn't allow it to be upgraded....
Code:
#./build set mysql 5.5
Download MySQL rpms from the DA site:
Code:
wget http://files.directadmin.com/services/all/mysql/64-bit/5.5.8/MySQL-client-5.5.8-1.linux2.6.x86_64.rpm
wget http://files.directadmin.com/services/all/mysql/64-bit/5.5.8/MySQL-devel-5.5.8-1.linux2.6.x86_64.rpm
wget http://files.directadmin.com/services/all/mysql/64-bit/5.5.8/MySQL-server-5.5.8-1.linux2.6.x86_64.rpm
wget http://files.directadmin.com/services/all/mysql/64-bit/5.5.8/MySQL-shared-5.5.8-1.linux2.6.x86_64.rpm
Install them:
Code:
rpm -Uvh *
Preparing... ########################################### [100%]
1:MySQL-shared ########################################### [ 25%]
2:MySQL-client ########################################### [ 50%]
3:MySQL-devel ########################################### [ 75%]
4:MySQL-server ########################################### [100%]
101227 15:33:19 [ERROR] /usr/sbin/mysqld: unknown option '--skip-locking'
101227 15:33:19 [ERROR] Aborting
101227 15:33:19 [Note] /usr/sbin/mysqld: Shutdown complete
Installation of system tables failed! Examine the logs in
/var/lib/mysql for more information.
You can try to start the mysqld daemon with:
shell> /usr/sbin/mysqld --skip-grant &
and use the command line tool /usr/bin/mysql
to connect to the mysql database and look at the grant tables:
shell> /usr/bin/mysql -u root mysql
mysql> show tables
Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in /var/lib/mysql that may be helpful.
Please consult the MySQL manual section
'Problems running mysql_install_db', and the manual section that
describes problems on your OS. Another information source are the
MySQL email archives available at http://lists.mysql.com/.
Please check all of the above before mailing us! And remember, if
you do mail us, you MUST use the /usr/bin/mysqlbug script!
Then run mysql_upgrade...
Code:
# mysql_upgrade -uroot -p
Enter password:
Looking for 'mysql' as: mysql
Looking for 'mysqlcheck' as: mysqlcheck
Running 'mysqlcheck with default connection arguments
Running 'mysqlcheck with default connection arguments
da_roundcube.cache OK
da_roundcube.contactgroupmembers OK
da_roundcube.contactgroups OK
da_roundcube.contacts OK
da_roundcube.identities OK
da_roundcube.messages OK
da_roundcube.session OK
da_roundcube.users OK
mysql.columns_priv OK
mysql.db OK
mysql.event OK
mysql.func OK
mysql.general_log OK
mysql.help_category OK
mysql.help_keyword OK
mysql.help_relation OK
mysql.help_topic OK
mysql.host OK
mysql.ndb_binlog_index OK
mysql.plugin OK
mysql.proc OK
mysql.procs_priv OK
mysql.proxies_priv OK
mysql.servers OK
mysql.slow_log OK
mysql.tables_priv OK
mysql.time_zone OK
mysql.time_zone_leap_second OK
mysql.time_zone_name OK
mysql.time_zone_transition OK
mysql.time_zone_transition_type OK
mysql.user OK
Running 'mysql_fix_privilege_tables'...
Lastly rebuild php...
Code:
# ./build php n
That's it! Worked on my system!