williamcosta
(usa Slackware)
Enviado em 14/07/2011 - 21:46h
Rodei, deu erros,olha ae:
root@slack:/home/william# mysql_install_db --user=mysql
WARNING: The host 'slack' could not be looked up with resolveip.
This probably means that your libc libraries are not 100 % compatible
with this binary MySQL version. The MySQL daemon, mysqld, should work
normally with the exception that host name resolving will not work.
This means that you should use IP addresses instead of hostnames
when specifying MySQL privileges !
Installing MySQL system tables...
110714 21:48:35 [ERROR] /usr/libexec/mysqld: Can't find file: './mysql/db.frm' (errno: 13)
ERROR: 1017 Can't find file: './mysql/db.frm' (errno: 13)
110714 21:48:35 [ERROR] Aborting
110714 21:48:35 [Note] /usr/libexec/mysqld: Shutdown complete
Installation of system tables failed! Examine the logs in
/var/lib/mysql for more information.
You can try to start the mysqld daemon with:
shell> /usr/libexec/mysqld --skip-grant &
and 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 /var/lib/mysql that may be helpful.
Please consult the MySQL manual section
'Problems running mysql_install_db', and the manual section that
describes problems on your OS. Another information source are the
MySQL email archives available at
http://lists.mysql.com/.
Please check all of the above before mailing us! And remember, if
you do mail us, you MUST use the /usr/bin/mysqlbug script!
root@slack:/home/william#
DEpois tentei iniciar o MYSQL:
root@slack:/home/william# /etc/rc.d/rc.mysqld start
root@slack:/home/william# 110714 21:51:14 mysqld_safe Logging to '/var/lib/mysql/slack.err'.
110714 21:51:14 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
110714 21:51:14 mysqld_safe mysqld from pid file /var/run/mysql/mysql.pid ended
trava aqui.