Board logo

标题: [BUG反馈] ubuntu 安装 产生问题 [打印本页]

作者: wan3574489    时间: 2013-3-8 17:00     标题: ubuntu 安装 产生问题

我是根据http://www.wdlinux.cn/bbs/thread-2523-1-1.html这个来进行安装的,   安装完毕产生
    '无法连接mysql,请检查mysql是否已启动及用户密码是否设置正确'错误  然后发现mysql没有被安装成功, 查看mysql日志,
    '
130308 12:50:17 mysqld_safe Starting mysqld daemon with databases from /www/wdlinux/mysql-5.1.63/var
130308 12:50:17 [ERROR] Fatal error: Can't change to run as user 'mysql' ;  Please check that the user exists!

130308 12:50:17 [ERROR] Aborting

130308 12:50:17 [Note] /www/wdlinux/mysql-5.1.63/libexec/mysqld: Shutdown complete

130308 12:50:17 mysqld_safe mysqld from pid file /www/wdlinux/mysql-5.1.63/var/xxxxxxxxx.pid ended
'

根据错误提示,我新建了一个mysql用户,然后又产生错误:
'
130308 13:20:46 mysqld_safe Starting mysqld daemon with databases from /www/wdlinux/mysql-5.1.63/var
^G/www/wdlinux/mysql-5.1.63/libexec/mysqld: Can't find file: './mysql/plugin.frm' (errno: 13)

130308 13:20:46 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.

130308 13:20:46 [ERROR] /www/wdlinux/mysql-5.1.63/libexec/mysqld: Can't create/write to file '/www/wdlinux/mysql-5.1.63/var/xxxx.pid' (Errcode: 13)

130308 13:20:46 [ERROR] Can't start server: can't create PID file: Permission denied

130308 13:20:46 mysqld_safe mysqld from pid file /www/wdlinux/mysql-5.1.63/var/xxxx.pid ended


'
然后根据错误提示,更改用户权限,新建一个xxxx.pid文件,好了,mysql启动成功!

重置了mysql的root密码,然后更改php配置文件,更改mysql连接配置,打开网站显示错误:'一条mysql错误'!


求解决方法?
作者: itxx    时间: 2013-3-23 22:50

回复 1# wan3574489

你好,能否提供一下当时安装一键包的ubuntu系统的具体版本 比如12.04 amd64这种 ?




欢迎光临 WDlinux官方论坛 (http://wdlinux.cn/bbs/) Powered by Discuz! 7.2