linux 无法登陆mysql服务器_万网Linux独享服务器MySQL数据库无法登陆处理方法

41528d3028836879cd698677c3999917.gif万网Linux独享服务器MySQL数据库无法登陆处理方法

Linux独享服务器MySQL数据库无法登陆处理方法 您在使用Linux独享服务器时,可能会遇到由于服务器MySQL负载高或调试、误操作而导致的数据库无法登陆问题,那么我们现在简单介绍下MySQL数据库无法登陆的处理方法。 首先使用CRT远程登陆服务器,使用以下两行命令: 例如MySQL进程查询返回信息: Warning: bad syntax, perhaps a bogus - ? See /usr/share/doc/procps-3.2.3/FAQ root 10165 0.0 0.1 4804 1144 ? S 17:08 0:00 /bin/sh /usr/local/mysql/bin/mysqld_safe --user=mysql mysql 10196 0.0 1.0 50948 11308 ? S 17:08 0:00 /usr/local/mysql/libc/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/var --user=mysql --pid-file=/usr/local/mysql/var/ud.pid --skip-external-locking --port=3306 --socket=/tmp/mysql.sock root 10197 0.0 1.0 50948 11308 ? S 17:08 0:00 /usr/local/mysql/libc/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/var --user=mysql --pid-file=/usr/local/mysql/var/ud.pid --skip-external-locking --port=3306 --socket=/tmp/mysql.sock 1、[root@ud~]# kill -9 `ps ax|grep mysqld |awk {print $1} `(杀掉MySQL进程) 2、[root@ud~]# /usr/local/mysql/bin/mysqld_safe --user=mysql &(重新启动MySQL服务) 希望以上的方法能给予您在Linux独享服务器使用中的方便。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值