mysql赋予外部访问权限

来源:互联网 发布:php 替换字符串 编辑:程序博客网 时间:2024/06/15 16:04

use mysql;

update user set password=password('123456') where user='root';

update user set host='%' where user='root' && host='127.0.0.1';

flush privileges;

0 0
原创粉丝点击