>  기사  >  데이터 베이스  >  mysql 异常搜集

mysql 异常搜集

WBOY
WBOY원래의
2016-06-07 16:26:521278검색

mysql 错误搜集 1. Error 1130 Host 'xxxxxx' is not allowed to connect to this MYSQL server 这种错误通常是没有权限,因为我是通过远程连接到数据库的 在服务端输入如下命令 grant all privileges on *.* to 'root@%' identified by '111111' with grant

mysql 错误搜集

1. Error 1130 Host 'xxxxxx' is not allowed to connect to this MYSQL server

这种错误通常是没有权限,因为我是通过远程连接到数据库的

在服务端输入如下命令

grant all privileges on *.* to 'root@%' identified by '111111' with grant option;
flush privileges;

?

2. Error 1145 Access denied for user 'root'@'network' (using password: YES)

这种错误是需要修改数据库密码

服务器端输入如下命令

set password for 'root@%' = password('111111');
flush privileges;

?

?

?

성명:
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.