mysql远程连接错误。1044 解决

mysql> GRANT ALL PRIVILEGES ON *.* TO root@'ip' IDENTIFIED BY 'password' WITH GRANT OPTION;

mysql> flush privileges;

 

注释:ip为你想授权的远程ip,password为你的mysql密码

你可能感兴趣的:(mysql,远程连接)