无标题文档
wdCP系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用教程) wdCDN系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用手册)
wdOS系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用教程) wdDNS系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用手册)
注册 发贴 提问 回复-必看必看 wddns免费智能 DNS 开通 本地或虚拟机使 用wdcp 一键包在mysql编 译时"卡住"
【300G高防】双线 无视攻击 wdcp官方技术支持/服务 阿里云8折优惠券 无敌云 腾讯云优惠中,现注册更有260代金额券赠送
返回列表 发帖
提问三步曲: 提问先看教程/FAQ索引(wdcp,wdcp_v3,一键包)及搜索,会让你更快解决问题
1 提供详细,如系统版本,wdcp版本,软件版本等及错误的详细信息,贴上论坛或截图发论坛
2 做过哪些操作或改动设置等

温馨提示:信息不详,很可能会没人理你!论坛有教程说明的,也可能没人理!因为,你懂的

[求助] mysql升级5.5后数据库无法连接phpMyAdmin错误2002

登录phpMyAdmin报错:
phpMyAdmin - Error
#2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)


wordpress报错:
Error establishing a database connection


按照论坛教程(http://www.wdlinux.cn/bbs/viewthread.php?tid=5461 )操作的,并且尝试了老大在http://www.wdlinux.cn/bbs/viewth ... ghlight=mysql%2B5.5 说的修改localhost为127.0.01还是同样的错误。

请问这个是什么情况?谢谢
还有我的 /www/wdlinux/init.d/mysqld 文件是不是有多余的东西,在ssh尝试用vi修改的时候总是保存不了。http://pan.baidu.com/share/link?shareid=141086264&uk=1671249803
超字数发布了,为了能预览把后缀改成txt了。

看下是否启用了MySQL的root账户,再看下密码是否正确

TOP

回复 2# 向上的葱子

看了下好像mysql运行有问题这个怎么解决?谢谢
  1. [root@iZm5eaj9b52jsu50vyaxhmZ ~]# service mysqld start
  2. env: /etc/init.d/mysqld: No such file or directory
  3. [root@iZm5eaj9b52jsu50vyaxhmZ ~]# service mysqld startservice mysqld start
  4. env: /etc/init.d/mysqld: No such file or directory
  5. [root@iZm5eaj9b52jsu50vyaxhmZ ~]#
  6. [root@iZm5eaj9b52jsu50vyaxhmZ ~]# service mysqld starts
  7. env: /etc/init.d/mysqld: No such file or directory
  8. [root@iZm5eaj9b52jsu50vyaxhmZ ~]# find mysqld
  9. find: `mysqld': No such file or directory
  10. [root@iZm5eaj9b52jsu50vyaxhmZ ~]# cd /etc/init.d
  11. [root@iZm5eaj9b52jsu50vyaxhmZ init.d]# find mysqld
  12. mysqld
  13. [root@iZm5eaj9b52jsu50vyaxhmZ init.d]# service mysqld start
  14. env: /etc/init.d/mysqld: No such file or directory
  15. [root@iZm5eaj9b52jsu50vyaxhmZ init.d]# mysqladmin restart
  16. mysqladmin: connect to server at 'localhost' failed
  17. error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'
  18. Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
  19. [root@iZm5eaj9b52jsu50vyaxhmZ init.d]# /ect/init.d/mysql restart
  20. -bash: /ect/init.d/mysql: No such file or directory
  21. [root@iZm5eaj9b52jsu50vyaxhmZ init.d]# cd
  22. [root@iZm5eaj9b52jsu50vyaxhmZ ~]#
  23. [root@iZm5eaj9b52jsu50vyaxhmZ ~]# mysqladmin restart
  24. mysqladmin: connect to server at 'localhost' failed
  25. error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'
  26. Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
  27. [root@iZm5eaj9b52jsu50vyaxhmZ ~]#
复制代码

TOP

本想着如果用另一台vps重复步骤看看哪里出错了,但现在v3安装直接是高版本了?

TOP

mysql配置文件里面指定user为root

TOP

回复 5# 向上的葱子

请问这个要如何设置? 谢谢

TOP

我的也是这个问题怎么解决?

TOP

返回列表