BruceLee wrote:
mysql:mysql 0755 for the /var/lib/mysql dir
mysql:mysql 0700 for the subdirs in /var/lib/mysql
mysql:mysql 0777 for mysql.sock
mysql:mysql 0660 for the files in subdirs
Using 5.1.x and these are the same permissions on our system.
Did you get a /etc/my.conf.rpmnew during install? Try using that to see if it allows mysql to start up. If not here's a copy:
Code:
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
# To allow mysqld to connect to a MySQL Cluster management daemon, uncomment
# these lines and adjust the connectstring as needed.
#ndbcluster
#ndb-connectstring="nodeid=4;host=localhost:1186"
[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
[ndbd]
# If you are running a MySQL Cluster storage daemon (ndbd) on this machine,
# adjust its connection to the management daemon here.
# Note: ndbd init script requires this to include nodeid!
connect-string="nodeid=2;host=localhost:1186"
[ndb_mgm]
# connection string for MySQL Cluster management tool
connect-string="host=localhost:1186"
Good luck