skywing 发表于 2015-2-15 11:21:57

xvmlabs UBUNTU14.04安装LNMP老失败 MYSQL装不上

最先装的是14.04 32位精简版,看到安装失败后(MYSQL没安装),重装14.04 32位普通版,还是失败,一样的问题,MYSQL装不上,其它的都正常安装。看了下安装日志 到13329行时出现错误
150214 21:02:28 Fatal error: Can't change to run as user 'mysql' ;Please check that the user exists!

150214 21:02:28 Aborting

150214 21:02:28 /usr/local/mysql/libexec/mysqld: Shutdown complete


Installation of system tables failed!Examine the logs in
/usr/local/mysql/var for more information.

You can try to start the mysqld daemon with:

    shell> /usr/local/mysql/libexec/mysqld --skip-grant &

and use the command line tool /usr/local/mysql/bin/mysql
to connect to the mysql database and look at the grant tables:

    shell> /usr/local/mysql/bin/mysql -u root mysql
    mysql> show tables

Try 'mysqld --help' if you have problems with paths.Using --log
gives you a log in /usr/local/mysql/var that may be helpful.

Please consult the MySQL manual section
'Problems running mysql_install_db', and the manual section that
describes problems on your OS.Another information source are the
MySQL email archives available at http://lists.mysql.com/.

Please check all of the above before mailing us!And remember, if
you do mail us, you MUST use the /usr/local/mysql/scripts/mysqlbug script!

Starting MySQL
. * Manager of pid-file quit without updating file.
/usr/local/mysql/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
* MySQL manager or server PID file could not be found!
Starting MySQL
. * Manager of pid-file quit without updating file.
* MySQL manager or server PID file could not be found!
============================MySQL 5.1.73 install completed=========================
安装日志已上传,麻烦军哥帮忙看下怎么解决,谢谢了

licess 发表于 2015-2-17 20:17:09

看提示看mysql用户不存在可能
你试试mysql 5.5试试

skywing 发表于 2015-3-23 20:21:44

online的2欧独服UBUNTU14.04 32位一样安装失败,也是MYSQL安装失败,别的PHP,NGINX都正常,我卸载了再装一次MYSQL5.5试试
页: [1]
查看完整版本: xvmlabs UBUNTU14.04安装LNMP老失败 MYSQL装不上