It starts up and shuts back down straight away
I'm trying to start it using safe_mysqld
The log says:
mysqld started
/usr/libexec/mysqld: Can't find file: './mysqld/host.frm' (errno: 13)
mysqld ended
The file it's looking for (host.frm) is in the /var/lib/mysql/mysql directory.
And the my.cnf file looks like this
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
[mysql.server]
user=mysql
basedir=/var/lib/mysql
[safe_mysqld]
err-log=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
Does anyone know how to fix this?