AMH开源社区

AMH社区 - 开放自由有价值的社区

[求助帖] [Amysql-Notice] Can't connect to local MySQL server through socket '/tmp/mysq...

liutao91@qq.com
铝牌会员
211.00 价值分

5,071 次阅读   8 张回复   liutao91@qq.com 发表于 2014-12-26 22:06:58
[Amysql-Notice] Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) Mysql链接出错,请配置/Amysql/config.php文件。#

如题,不知道应该怎么办了。。。。。
最近出种问题。。。
评价: 这个问题有价值吗?  没有 (0分)   有, 感谢 (0分)
2014-12-26 22:06:58 1

amysql
创始人
96795.03 价值分

mysql 不能启动。

不能正常启动的原因可能有:
磁盘空间满、MySQL数据目录权限问题、mysql配置有误、配置my.cnf重复加载等。
一一去排查。也可以看mysql日志。

mysql 启动命令
amh mysql start
评价: 这个答复有价值吗?  没有 (0分)   有, 感谢 (0分)
回复  2014-12-27 14:15:59 2

liutao91@qq.com
铝牌会员
211.00 价值分

引用:
amysql 发表于 2014-12-27 14:15
mysql 不能启动。

不能正常启动的原因可能有:


谢谢回答哦,不过我的空间是20g的,才用的2g,然后前几天还正常用的,这两天就出错了,不知道是不是我修改服务器的root密码了。。。。
评价: 这个答复有价值吗?  没有 (0分)   有, 感谢 (0分)
回复  2014-12-27 14:20:46 3

liutao91@qq.com
铝牌会员
211.00 价值分

引用:
amysql 发表于 2014-12-27 14:15
mysql 不能启动。

不能正常启动的原因可能有:


谢谢回答哦,不过我的空间是20g的,才用的2g,然后前几天还正常用的,这两天就出错了,不知道是不是我修改服务器的root密码了。。。。
评价: 这个答复有价值吗?  没有 (0分)   有, 感谢 (0分)
回复  2014-12-27 14:23:27 4

liutao91@qq.com
铝牌会员
211.00 价值分

引用:
amysql 发表于 2014-12-27 14:15
mysql 不能启动。

不能正常启动的原因可能有:


Starting MySQL. ERROR! The server quit without updating PID file (/usr/local/mysql/data/AY140402214156893c78Z.pid).



ssh 提示这个了
评价: 这个答复有价值吗?  没有 (0分)   有, 感谢 (0分)
回复  2014-12-27 14:30:59 5

amysql
创始人
96795.03 价值分

引用:
liutao91@qq.com 发表于 2014-12-27 14:30
Starting MySQL. ERROR! The server quit without updating PID file (/usr/local/mysql/data/AY14040221 ...


都检测下
http://amh.sh/bbs/forum.php?mod=redirect&goto=findpost&ptid=5173&pid=34859&fromuid=2
评价: 这个答复有价值吗?  没有 (0分)   有, 感谢 (0分)
回复  2014-12-31 16:18:36 6

rootlove
铁牌会员
10.00 价值分

引用:
amysql 发表于 2014-12-27 14:15
mysql 不能启动。

不能正常启动的原因可能有:


root@AMH:/home/dq# amh mysql start
=============================================================
[Linux] AMH 5.2
http://amh.sh

[mysql start]
=============================================================
=============================================================
[Linux] AMH 5.2
http://amh.sh

[mysql-generic-5.5.40 start]
=============================================================
mysql-generic-5.5.40
[OK] mysql-generic-5.5.40 is already installed.
Starting MySQL
.[....] The server quit without updating PID file (/home/usrdata/mysql-generic-5 [FAIL/AMH.pid). ... failed!
151118 16:47:11 mysqld_safe Starting mysqld daemon with databases from /home/usr data/mysql-generic-5.5.40
/usr/local/mysql-generic-5.5.40/bin/mysqld: error while loading shared libraries : libaio.so.1: cannot open shared object file: No such file or directory
151118 16:47:11 mysqld_safe mysqld from pid file /home/usrdata/mysql-generic-5.5 .40/mysql.pid ended
151118 16:51:54 mysqld_safe Starting mysqld daemon with databases from /home/usr data/mysql-generic-5.5.40
/usr/local/mysql-generic-5.5.40/bin/mysqld: error while loading shared libraries : libaio.so.1: cannot open shared object file: No such file or directory
151118 16:51:54 mysqld_safe mysqld from pid file /home/usrdata/mysql-generic-5.5 .40/mysql.pid ended
151118 21:26:58 mysqld_safe Starting mysqld daemon with databases from /home/usr data/mysql-generic-5.5.40
/usr/local/mysql-generic-5.5.40/bin/mysqld: error while loading shared libraries : libaio.so.1: cannot open shared object file: No such file or directory
151118 21:26:58 mysqld_safe mysqld from pid file /home/usrdata/mysql-generic-5.5 .40/mysql.pid ended
151118 21:40:14 mysqld_safe Starting mysqld daemon with databases from /home/usr data/mysql-generic-5.5.40
/usr/local/mysql-generic-5.5.40/bin/mysqld: error while loading shared libraries : libaio.so.1: cannot open shared object file: No such file or directory
151118 21:40:14 mysqld_safe mysqld from pid file /home/usrdata/mysql-generic-5.5 .40/AMH.pid ended
151118 21:41:44 mysqld_safe Starting mysqld daemon with databases from /home/usr data/mysql-generic-5.5.40
/usr/local/mysql-generic-5.5.40/bin/mysqld: error while loading shared libraries : libaio.so.1: cannot open shared object file: No such file or directory
151118 21:41:44 mysqld_safe mysqld from pid file /home/usrdata/mysql-generic-5.5 .40/AMH.pid ended
151118 21:43:38 mysqld_safe Starting mysqld daemon with databases from /home/usr data/mysql-generic-5.5.40
/usr/local/mysql-generic-5.5.40/bin/mysqld: error while loading shared libraries : libaio.so.1: cannot open shared object file: No such file or directory
151118 21:43:38 mysqld_safe mysqld from pid file /home/usrdata/mysql-generic-5.5 .40/AMH.pid ended
151118 21:53:35 mysqld_safe Starting mysqld daemon with databases from /home/usr data/mysql-generic-5.5.40
/usr/local/mysql-generic-5.5.40/bin/mysqld: error while loading shared libraries : libaio.so.1: cannot open shared object file: No such file or directory
151118 21:53:35 mysqld_safe mysqld from pid file /home/usrdata/mysql-generic-5.5 .40/AMH.pid ended
151118 21:57:34 mysqld_safe Starting mysqld daemon with databases from /home/usr data/mysql-generic-5.5.40
/usr/local/mysql-generic-5.5.40/bin/mysqld: error while loading shared libraries : libaio.so.1: cannot open shared object file: No such file or directory
151118 21:57:34 mysqld_safe mysqld from pid file /home/usrdata/mysql-generic-5.5 .40/AMH.pid ended
151118 22:03:24 mysqld_safe Starting mysqld daemon with databases from /home/usr data/mysql-generic-5.5.40
/usr/local/mysql-generic-5.5.40/bin/mysqld: error while loading shared libraries : libaio.so.1: cannot open shared object file: No such file or directory
151118 22:03:24 mysqld_safe mysqld from pid file /home/usrdata/mysql-generic-5.5 .40/AMH.pid ended
151118 22:06:06 mysqld_safe Starting mysqld daemon with databases from /home/usr data/mysql-generic-5.5.40
/usr/local/mysql-generic-5.5.40/bin/mysqld: error while loading shared libraries : libaio.so.1: cannot open shared object file: No such file or directory
151118 22:06:06 mysqld_safe mysqld from pid file /home/usrdata/mysql-generic-5.5 .40/AMH.pid ended
[Error] mysql-generic-5.5.40 start failed.
评价: 这个答复有价值吗?  没有 (0分)   有, 感谢 (0分)
回复  2015-11-18 22:08:38 7

iftyou
铁牌会员
1.00 价值分

testasdfas的撒旦啊放沙发
评价: 这个答复有价值吗?  没有 (0分)   有, 感谢 (0分)
回复  2016-08-09 23:28:29 8

sghwgx1555
铁牌会员
0.00 价值分

同样的问题,求解决方法
评价: 这个答复有价值吗?  没有 (0分)   有, 感谢 (0分)
回复  2018-02-04 17:48:24 9
 1  (总1页)
AMH社区列表
旅客不可参与帖子, 请您先登录
用户服务中心