Check console and logs for permission problems. Upon installing 5.0.13 on Fedora Core 3, I got
[Warning] Can't create test file /var/lib/mysql/mysql.lower-test
The directory permissions were ok in my case (but worth checking) - it was SELinux causing me issues:
mysql kernel: audit(1128001497.156:0): avc: denied { create } for pid=31567 exe=/usr/sbin/mysqld name=mysql.sock scontext=root:system_r:mysqld_t tcontext=root:object_r:var_lib_t tclass=sock_file
I tested the install by temporarily setting "setenforce 0", and everything was fine. By running:
restorecon -R -v /var/lib/mysql
The security context was fixed up, and all seems good to go
Cheers
edit: Found this link
http://bugs.mysql.com/bug.php?id=12676
Edited 2 time(s). Last edit at 09/29/2005 08:33AM by Simon Nicholls.