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:
>
> [EMAIL PROTECTED] bin]# ./safe_mysqld &
> [1] 5122
> [EMAIL PROTECTED] bin]# Starting mysqld daemon with databases from
> /var/lib/mysql
> STOPPING server from pid file /var/run/mysqld/mysqld.pid
> 050526 18:05:14 mysqld ended
>
> I think the server is closed automatically. I check the mysqld.log. It
> says:
>
> 050526 17:46:09 mysqld started
> 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)
> 050526 17:46:09 Aborting
>
> 050526 17:46:09 InnoDB: Starting shutdown...
> 050526 17:46:11 InnoDB: Shutdown completed
> 050526 17:46:11 /usr/local/mysql/bin/mysqld: Shutdown Complete
>
> 050526 17:46:11 mysqld ended
>
> What is the problem?

Error 13 is a permissions problem.
The user 'mysql' does not have permission to read the files.
Make sure mysql owns the database directory and all its contents.

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

Reply via email to