VPS侦探论坛

 找回密码
 注册
查看: 5108|回复: 2

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

[复制链接]
发表于 2015-2-15 11:21:57 | 显示全部楼层 |阅读模式

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

  2. 150214 21:02:28 [ERROR] Aborting

  3. 150214 21:02:28 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete


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

  6. You can try to start the mysqld daemon with:

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

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

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

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

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

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

  20. Starting MySQL
  21. . * Manager of pid-file quit without updating file.
  22. /usr/local/mysql/bin/mysqladmin: connect to server at 'localhost' failed
  23. error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'
  24. Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
  25. ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
  26. * MySQL manager or server PID file could not be found!
  27. Starting MySQL
  28. . * Manager of pid-file quit without updating file.
  29. * MySQL manager or server PID file could not be found!
  30. ============================MySQL 5.1.73 install completed=========================
复制代码

安装日志已上传,麻烦军哥帮忙看下怎么解决,谢谢了

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2015-2-17 20:17:09 | 显示全部楼层


看提示看mysql用户不存在可能
你试试mysql 5.5试试
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2015-3-23 20:21:44 | 显示全部楼层

online的2欧独服UBUNTU14.04 32位一样安装失败,也是MYSQL安装失败,别的PHP,NGINX都正常,我卸载了再装一次MYSQL5.5试试
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-11-16 10:51 , Processed in 0.026831 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表