|
linux:/usr/sbin # mysqld -u root mysqld
041204 6:13:21 Fatal error: Can't open privilege tables: Table 'mysql.host' do esn't exist
041204 6:13:21 Aborting
以上是我在root模式下运行刚装完的mysql报的错误,我发现搜遍整个/目录没有这个文件,怎么回事,求助,然后我执行了mysqladmin version又出一下错误:
linux:/usr/sbin # mysqladmin version
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists!
linux:/usr/sbin #
这第二个是不是因为第一个启动mysql命令失败引起的请赐教 |
|