MySQL Forums
Forum List  »  Install & Repo

Re: Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
Posted by: Joe Rasberry
Date: April 21, 2006 06:52AM

Installed mysql on Solaris machine. Created a symbolic link /usr/local/mysql pointing to the installation directory. Tried to start mysqld_safe and received and a error message on startup "Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist".

Solution:

Created an /etc/my.cnf with the following:

[mysqld]
basedir = /usr/local/mysql
datadir = /usr/local/mysql/data

This cured the startup problem

Options: ReplyQuote


Subject
Written By
Posted
Re: Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
April 21, 2006 06:52AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.