[root@jjidc yum.repos.d]# service mysqld status
mysqld 已停
[root@jjidc yum.repos.d]# service mysqld start
初始化 MySQL 数据库: Installing MySQL system tables...
100724 17:35:56 [Warning] option 'max_join_size': unsigned value 184467440737095 51615 adjusted to 4294967295
100724 17:35:56 [Warning] option 'max_join_size': unsigned value 184467440737095 51615 adjusted to 4294967295
ERROR: 1004 Can't create file '/tmp/#sqld22_1_0.frm' (errno: 13)
100724 17:35:56 [ERROR] Aborting
100724 17:35:56 [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:
/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.
The latest information about MySQL is available on the web at
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!
[失败]
解决用root : chmod 777 /tmp即可
阅读(3683) | 评论(0) | 转发(0) |