登录mysql
mysql -u root -p mysql
设置root用户远程连接的密码为123456
grant all privileges on *.* to 'root'@'%' identified by '123456' with grant option;
之后再用123456 密码远程登录即可
原文:https://blog.csdn.net/qq_38006520/article/details/82882755
登录mysql
mysql -u root -p mysql
设置root用户远程连接的密码为123456
grant all privileges on *.* to 'root'@'%' identified by '123456' with grant option;
之后再用123456 密码远程登录即可
原文:https://blog.csdn.net/qq_38006520/article/details/82882755