qin lei wrote:
> I have instal mysql in /usr/local/mysql. When I run the server. The
> message showed on the screen is as follows:
[snip]
> Warning: Ignoring user change to 'root' because the user was set to
> 'mysql' earlier on the command line
> 050526 17:46:09  InnoDB: Started
> 050526 17:46:09 /usr/local/mysql/bin/mysqld: Can't find file:
> './mysql/host.frm' (errno: 13)
> 050526 17:46:09 Fatal error: Can't open privilege tables: Can't find
> file: './mysql/host.frm' (errno: 13)

Did you run the script that install the initial tables :

(excerpts from TFM):

To initialize the grant tables, use one of the following commands, depending
on whether mysql_install_db is located in the bin or scripts directory: 

shell> bin/mysql_install_db --user=mysql
shell> scripts/mysql_install_db --user=mysql


Peter Normann

----
People fall into 10 categories. Those who understands binary, and those who
don't.


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to