can't start mysql

Red Squirrel

No Lifer
May 24, 2003
71,312
14,084
126
www.anyf.ca
I want to move the mysql db data over to another partition so it can be part of the backup job. I've done this before but for whatever reason it wont let me do it anymore.

I get this error when I try to start mysql:

Timeout error occurred trying to start MySQL Daemon.


the db is in /data/mysql

and this is my my.cnf file:


[mysqld]
datadir=/data/mysql
socket=/data/mysql/mysql.sock
user=mysql
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1

[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid




I tried centOS 5.2 and FC8, they both do this. I've had no problems in FC9 x64 (on a different machine)


It also seems to still launch some processes that stay in memory, but can't connect. It did create the tables though.