容器技术交流

 找回密码
 立即注册
查看: 2124|回复: 4

数据库坏了吗?

[复制链接]
发表于 2012-2-4 10:07:29 | 显示全部楼层 |阅读模式

后台是这个:



 楼主| 发表于 2012-2-4 10:14:01 | 显示全部楼层
网站是这样

Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/ftp/1520/apa-china.com/web/framework/db/mysql.php on line 48
错误信息

Error
    MysqlDb Error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

解决方案
    请登录官方论坛,将您发现的问题告诉我们,并寻求帮助!
 楼主| 发表于 2012-2-4 10:16:29 | 显示全部楼层
没有人在吗?
 楼主| 发表于 2012-2-4 10:18:33 | 显示全部楼层
还有另一个IP的后台:
系统发生错误
您可以选择 [ 重试 ] [ 返回 ] 或者 [ 回到首页 ]

[ 错误信息 ]

Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
天那,都是什么情况?
发表于 2012-2-4 10:32:31 | 显示全部楼层
可能是由于在LUM后台设置了不允许mysql启动吧?
lu-restart试一下

点评

[root@localhost /]# lu-restart 1 ERROR! MySQL manager or server PID file could not be found! 3 重启之后还是一样,linux显示是这个报错和Bind启动失败  发表于 2012-2-4 10:56
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Archiver|URLOS ( 粤ICP备18087780号 )

GMT+8, 2025-7-6 00:10 , Processed in 0.035324 second(s), 22 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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