All pastes #31236 Raw Edit

Miscellany

public text v1 · immutable
#31236 ·published 2005-11-25 21:32 UTC
rendered paste body
[root@cflores root]# service mysqld start
Initializing MySQL database:  Preparing db table
Preparing host table
Preparing user table
Preparing func table
Preparing tables_priv table
Preparing columns_priv table
Installing all prepared tables
Installation of grant tables failed!

Examine the logs in /usr/local/mysql/data for more information.
You can also try to start the mysqld daemon with:
/usr/libexec/mysqld --skip-grant &
You can use the command line tool
/usr/bin/mysql to connect to the mysql
database and look at the grant tables:

shell> /usr/bin/mysql -u root mysql
mysql> show tables

Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in /usr/local/mysql/data that may be helpful.

The latest information about MySQL is available on the web at
http://www.mysql.com
Please consult the MySQL manual section: 'Problems running mysql_install_db',
and the manual section that describes problems on your OS.
Another information source is the MySQL email archive.
Please check all of the above before mailing us!
And if you do mail us, you MUST use the /usr/bin/mysqlbug script!
mkdir: cannot create directory `/usr/local/mysql/data': No such file or directory
chmod: failed to get attributes of `/usr/local/mysql/data': No such file or directory
mkdir: cannot create directory `/usr/local/mysql/data/mysql': No such file or directory
chmod: failed to get attributes of `/usr/local/mysql/data/mysql': No such file or directory
mkdir: cannot create directory `/usr/local/mysql/data/test': No such file or directory
chmod: failed to get attributes of `/usr/local/mysql/data/test': No such file or directory
/usr/libexec/mysqld: Can't change dir to '/usr/local/mysql/data/' (Errcode: 2)
051126  3:31:35  Aborting

051126  3:31:35  /usr/libexec/mysqld: Shutdown Complete

                                                           [FAILED]