产品服务AMH 免费服务器主机面板SSL证书 免费SSL证书申请 担保单 免费安全、零费率交易平台编程助手免费智能写代码、翻译AMYSQL 免费MySQL管理工具

AMH 社区首页

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

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

kngxer
铜牌会员
662.00 价值分

kngxer 发表于 2013-09-17 22:40:53
本帖最后由 kngxer 于 2013-9-17 22:44 编辑

重启centos 5.7 64位服务器后,登陆面板的时候显示[Amysql-Notice] Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) Mysql链接出错,请配置/Amysql/config.php文件。#
求解决方案
2013-09-17 22:40:53 1

kngxer
铜牌会员
662.00 价值分

4.0的时候没出现过这种问题,更新4.1就出现了 支持
  支持 (0分)  反对 (0分)
回复  2013-09-17 22:42:14 2

amysql
创始人
16530.81 价值分

是面板还是虚拟主机?

/etc/init.d/amh-start 有报错信息吗
  支持 (0分)  反对 (0分)
回复  2013-09-17 22:46:51 3

AMH面板 - 好用高效低占用、安全可靠极稳定

kngxer
铜牌会员
662.00 价值分

本帖最后由 kngxer 于 2013-9-17 23:23 编辑

引用:
amysql 发表于 2013-9-17 22:46
是面板还是虚拟主机?

/etc/init.d/amh-start 有报错信息吗

是面板,
=============================================================

  支持 (0分)  反对 (0分)
回复  2013-09-17 22:52:05 4

amysql
创始人
16530.81 价值分

引用:
kngxer 发表于 2013-9-17 22:52
是面板,
=============================================================
[LNMP/Nginx] Amysql Host - ...


MySQL启动报错,
可以看看日志 cat /usr/local/mysql/data/*err;
  支持 (0分)  反对 (0分)
回复  2013-09-17 22:59:03 5

kngxer
铜牌会员
662.00 价值分

本帖最后由 kngxer 于 2013-9-17 23:26 编辑

引用:
amysql 发表于 2013-9-17 22:59
MySQL启动报错,
可以看看日志 cat /usr/local/mysql/data/*err;

帮看一下,谢谢
Version: '5.5.33-log' socket: '/tmp/mysql.sock' port: 3306 Source distribution
130917 7:20:50 [Warning] Disk is full writing './mysql-bin.000005' (Errcode: 28). Waiting for someone to free space... (Expect up to 60 secs delay for server to continue after freeing disk space)
130917 7:20:50 [Warning] Retry in 60 secs. Message reprinted in 600 secs
130917 7:24:33 [Note] /usr/local/mysql/bin/mysqld: Normal shutdown

130917 7:24:33 [Note] Event Scheduler: Purging the queue. 0 events
130917 7:24:35 [Warning] /usr/local/mysql/bin/mysqld: Forcing close of thread 7260 user: 'root'

130917 07:25:17 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data
130917 7:25:18 [Note] Plugin 'InnoDB' is disabled.
14:25:18 UTC - mysqld got signal 11 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help
diagnose the problem, but since we have already crashed,
something is definitely wrong and this may fail.

key_buffer_size=16777216
read_buffer_size=262144
max_used_connections=0
max_threads=151
thread_count=0
connection_count=0
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 134081 K bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x0
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
stack_bottom = 0 thread_stack 0x40000
/usr/local/mysql/bin/mysqld(my_print_stacktrace+0x2e)[0x76e43e]
/usr/local/mysql/bin/mysqld(handle_fatal_signal+0x386)[0x657906]
/li130917 07:25:18 mysqld_safe mysqld from pid file /usr/local/mysql/data/46cb4c65-5fa1-4d2f-8f28-b9b0aca7cf0e.pid ended
130917 07:32:51 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data
130917 7:32:51 [Note] Plugin 'InnoDB' is disabled.
14:32:51 UTC - mysqld got signal 11 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help
diagnose the problem, but since we have already crashed,
something is definitely wrong and this may fail.


  支持 (0分)  反对 (0分)
回复  2013-09-17 23:02:11 6

kngxer
铜牌会员
662.00 价值分

引用:
amysql 发表于 2013-9-17 22:59
MySQL启动报错,
可以看看日志 cat /usr/local/mysql/data/*err;


解决了。。。谢谢了,原来是虚拟主机空间放了一个1.2G的文件。。。启动不了mysql
  支持 (0分)  反对 (0分)
回复  2013-09-17 23:20:15 7

yun
银牌会员
1276.20 价值分

/etc/init.d/amh-start
是万能命令 支持
  支持 (0分)  反对 (0分)
回复  2013-09-18 02:21:07 8
 1  (总1页)
AMH社区列表
用户服务中心