- 论坛徽章:
- 0
|
原帖由 sunfighter 于 08 4 15 10:04 发表 ![]()
很清楚了,就是已经启动,不需要再次启动
似乎不是已经启动了哦
...failed or took more than 6s.
#已经失败或耗时超过6秒
Please take a look at the syslog.
#请查看系统日志
Warning: World-writable config file '/etc/mysql/debian.cnf' is ignored
#警告:全局可写的配置文件 '/etc/mysql/debian.cnf' 被忽略 -------------------------(应该是这个文件权限太开放)
/usr/bin/mysqladmin: connect to server at 'localhost' failed
#/usr/bin/mysqladmin: 连接 'localhost'上的服务器失败
error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
#错误:不能通过'/var/run/mysqld/mysqld.sock' 连接到本地mysql服务器
Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
#检查mysqld在运行,并且socket文件'/var/run/mysqld/mysqld.sock' 存在
如果是根据提示,是因为'/etc/mysql/debian.cnf' 的权限是太开放造成配置文件被忽略,从而造成mysql不能启动或忽略配置文件启动,估计修改一下这个文件的权限就可以了 |
|