安装完成之后运行safe_mysqld,提示的错误如下: 031010 21:34:28 mysqld started Fatal error: Can't change to run as user 'mysql' ; Please check that the user exists! 031010 21:34:28 Aborting 请问这应该怎么班?
大哥求你帮帮忙,好好指点以下吧,我是真的高不定了。刚开始用。刚开始出现031011 14:34:31 mysqld started Fatal error: Can't change to run as user 'mysql' ; Please check that the user exists! 031011 14:34:31 Aborting031011 14:34:31 /usr/local/mysql/bin/mysqld: Shutdown Complete031011 14:34:31 mysqld ended 我添加了用户“mysql” 再启动服务就出现: 031011 14:38:48 mysqld started 031011 14:38:49 InnoDB: Operating system error number 13 in a file operation. InnoDB: See http://www.innodb.com/ibman.html for installation help. InnoDB: The error means mysqld does not have the access rights to InnoDB: the directory. InnoDB: File name ./ibdata1 InnoDB: File operation call: 'create'. InnoDB: Cannot continue operation. 031011 14:38:49 mysqld ended 再次启动: 031011 14:47:04 mysqld started /usr/local/mysql/bin/mysqld: File './Micharing.log' not found (Errcode: 13) 031011 14:47:04 Could not use Micharing.log for logging (error 13). Turning logging off for the whole duration of the MySQL server process. To turn it on again: fix the cause, shutdown the MySQL server and restart it. 031011 14:47:04 InnoDB: Operating system error number 13 in a file operation. InnoDB: See http://www.innodb.com/ibman.html for installation help. InnoDB: The error means mysqld does not have the access rights to InnoDB: the directory. InnoDB: File name ./ibdata1 InnoDB: File operation call: 'create'. InnoDB: Cannot continue operation. 031011 14:47:04 mysqld ended希望能帮帮我啊!
我用的是gz格式的,没有找到rpm.
大家帮忙啊!
031010 21:34:28 mysqld started
Fatal error: Can't change to run as user 'mysql' ; Please check that the user exists!
031010 21:34:28 Aborting
请问这应该怎么班?
Fatal error: Can't change to run as user 'mysql' ; Please check that the user exists!
031011 14:34:31 Aborting031011 14:34:31 /usr/local/mysql/bin/mysqld: Shutdown Complete031011 14:34:31 mysqld ended
我添加了用户“mysql”
再启动服务就出现:
031011 14:38:48 mysqld started
031011 14:38:49 InnoDB: Operating system error number 13 in a file operation.
InnoDB: See http://www.innodb.com/ibman.html for installation help.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: 'create'.
InnoDB: Cannot continue operation.
031011 14:38:49 mysqld ended
再次启动:
031011 14:47:04 mysqld started
/usr/local/mysql/bin/mysqld: File './Micharing.log' not found (Errcode: 13)
031011 14:47:04 Could not use Micharing.log for logging (error 13). Turning logging off for the whole duration of the MySQL server process. To turn it on again: fix the cause, shutdown the MySQL server and restart it.
031011 14:47:04 InnoDB: Operating system error number 13 in a file operation.
InnoDB: See http://www.innodb.com/ibman.html for installation help.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: 'create'.
InnoDB: Cannot continue operation.
031011 14:47:04 mysqld ended希望能帮帮我啊!
1、去mysql上下一个新的rpm格式的,然后重新安装(成功率99%)
2、重读安装说明,重新用你的版本装……(成功率50%)
针对你的问题我的回答是……你没有安装好mysql_clinet,即mysql的客户端,要知道在linux下装是有几个不同的包的,服务器是一个包,开发工具又是一个包,然后客户端还是一个包,检查一下你的安装是不是全的……
方法比较容易,看一下你的用户里是不是有一个mysql的用户和组,如果有的话,那说明是安装了客户端的,如果没有,就去找个来装,然后就应该OK了……
如果你的是源码的……那我教你用下面的步骤来装:
1$make
2$make install
3$install
4$make clean
这是基本的命令,有什么不懂的你再来问吧……