mysql远程连接报错1045-Access denied for user 'root@'183.199.105.197'...报错

可能是未开启允许远程访问
进入mysql执行

mysql> GRANT ALL PRIVILEGES ON *.* TO'root'@'%' IDENTIFIED BY 'root' WITH GRANT OPTION;
Query OK, 0 rows affected, 1 warning (0.00 sec)

mysql> flush privileges;
Query OK, 0 rows affected (0.01 sec)

mysql> 

提示:by 后面的‘root’是允许远程登陆的密码
mysql远程连接报错1045-Access denied for user 'root@'183.199.105.197'...报错_第1张图片

你可能感兴趣的:(报错整理)