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

AMH 社区首页

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

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

xiaotianya
铁牌会员
10.00 价值分

xiaotianya 发表于 2016-04-22 16:10:16
[root@VM_88_40_centos ~]# ls -l /home/usrdata/mysql*
total 1104
-rw-r----- 1 mysql root 582 Apr 22 15:43 VM_88_40_centos.err
drwx------ 2 mysql mysql 4096 Apr 22 15:26 mysql
-rw-rw---- 1 mysql mysql 27726 Apr 22 15:26 mysql-bin.000001
-rw-rw---- 1 mysql mysql 1070662 Apr 22 15:26 mysql-bin.000002
-rw-rw---- 1 mysql mysql 876 Apr 22 15:26 mysql-bin.000003
-rw-rw---- 1 mysql mysql 57 Apr 22 15:26 mysql-bin.index
-rw-rw---- 1 mysql mysql 5 Apr 22 15:26 mysql.pid
drwx------ 2 mysql mysql 4096 Apr 22 15:26 performance_schema
You have new mail in /var/spool/mail/root
[root@VM_88_40_centos ~]# find / -name my.cnf
/usr/local/mysql-5.5.40/mysql-test/suite/rpl/my.cnf
/usr/local/mysql-5.5.40/mysql-test/suite/federated/my.cnf
/usr/local/mysql-5.5.40/my.cnf
/usr/local/mysql-generic-5.5.40/mysql-test/suite/rpl/my.cnf
/usr/local/mysql-generic-5.5.40/mysql-test/suite/federated/my.cnf
/usr/local/mysql-generic-5.5.40/my.cnf
/root/amh/modules/mysql-5.5.40/my.cnf
/root/amh/modules/mysql-generic-5.5.40/my.cnf

[client]
port = 3306
socket = /tmp/mysql-5.5.40.sock

[mysqld]
default-storage-engine = MyISAM
innodb = OFF
skip-innodb
port = 3306
socket = /tmp/mysql-5.5.40.sock
lc-messages-dir=/usr/local/mysql-5.5.40/share
basedir = /usr/local/mysql-5.5.40
datadir = /home/usrdata/mysql-5.5.40
pid-file = /home/usrdata/mysql-5.5.40/mysql.pid
skip-external-locking
key_buffer_size = 16M
max_allowed_packet = 1M
table_open_cache = 64
sort_buffer_size = 512K
net_buffer_length = 8K
read_buffer_size = 256K
read_rnd_buffer_size = 512K
myisam_sort_buffer_size = 8M
log-bin = mysql-bin
binlog_format = mixed
server-id = 1
skip-networking

[mysqldump]
quick

[mysql]
no-auto-rehash

[myisamchk]
key_buffer_size = 20M
sort_buffer_size = 20M
read_buffer = 2M
write_buffer = 2M

[mysqlhotcopy]
interactive-timeout

今天需要安装pdo_mysql,说是权限不够。然后就重装centos,再装amh5.2,就是这个问题了,有重新装了几次都这样。
老大,怎么解决啊,救命!
2016-04-22 16:10:16 1
 1  (总1页)
AMH社区列表
用户服务中心