Reply to can' find ./mysql/host.frm

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация