摘要:
vim /etc/mysql/mysql.conf.d/mysqld.cnf 将bind-adress = 127.0.0.1改成0.0.0.0 否则会拒绝127.0.01以外的所有请求 授权root在其他ip登录mysql: update user set host = "%" where use 阅读全文
摘要:
cat /etc/mysql/debian.cnf 用文件内的client的user进行登录 登录成功后 更改密码: update user set Password="159753" where User="root"; 转载:https://blog.csdn.net/lynnucas/arti 阅读全文