Heim  >  Artikel  >  Datenbank  >  mysql 异常搜集

mysql 异常搜集

WBOY
WBOYOriginal
2016-06-07 16:26:521278Durchsuche

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;

?

?

?

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn