rpm编译mysql出现的怪异问题
用rpm编译mysql时出现如下问题
- Preparing db table
- Preparing host table
- Preparing user table
- Preparing func table
- Preparing tables_priv table
- Preparing columns_priv table
- Installing all prepared tables
- Fatal error: Can't change to run as user 'mysql'. Please check that the user exists!
- 060510 21:27:52 Aborting
- 060510 21:27:52 /usr/sbin/mysqld: Shutdown Complete
- Installation of grant tables failed!
- Examine the logs in /var/lib/mysql for more information.
- You can also try to start the mysqld daemon with:
- /usr/sbin/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 /var/lib/mysql 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!
复制代码
然后mysql无法启动,高手们帮忙看看这是什么问题啊?谢谢了
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
还是没有解决,郁闷阿
mysql这个用户是存在的,用su mysql还可以切换呢
还是英文不好。。。
Fatal error: Can't change to run as user 'mysql'. Please check that the user exists!
加个mysql的用户就可以了
useradd mysql
通过查看com.err反复出现如下错误,不知道哪里的问题
复制代码