Posted by Paul F. Sehorne on 09/27/05 04:20
This is a new installation and upon executing mysql.server start I receive
an error (in the errog log) "usr/local/mysql/bin/mysqld: Can't find file:
'./mysql/host.frm' (errno: 13)".
I've read the docs on the mysql web site and found one item similar to this.
I stated that the UMASK or UMASK_DIR could be set wrong and that mysqld
would not have the correct permissions. I have set these environment
variables as sugggest and still receive the same error.
I have the following ennvironment:
basedir=/usr/local/mysql
datadir=/usr/local/mysql
socket=/var/lib/mysql/mysql.sock
err-log=/usr/log/mysqld.log
pid-file=/usr/run/mysqld/mysqld.pid
The test and mysql databases are in =/usr/local/mysql/test and
=/usr/local/mysql/mysql. In the mysql database directory there is a file
named host.frm.
In an attemp to fix this and other problems I have temporariy set the
directories and file in the above list with chmod to 777. The directories
are all owned by the 'apache' that was used with
'mysql_install_db --user=apache'
Anyone have any idea what is wrong?
Thanks,
Paul
[Back to original message]
|