MySQL给root开启远程访问权限(MySQL 8)
在连接服务器后,操作MySQL数据库use mysql; select host,user from user where user='root'; update user set host='%' where user='root' and host='localhost'; flush privileges; select host,user from user where user=
在连接服务器后,操作MySQL数据库use mysql; select host,user from user where user='root'; update user set host='%' where user='root' and host='localhost'; flush privileges; select host,user from user where user=