mysql受权其他IP访问

mysql授权其他IP访问

注:必须使用root用户?

dbname:数据库名称

root:用户名 ??
passwd:密码

?grant?all?privileges?on?dbname.*?to?root@’localhost’?identified?by?’passwd’;

grant?all?privileges?on??dbname.*?to?root@’127.0.0.1′?identified?by?’passwd’;

grant?all?privileges?on??dbname.*?to?root@’%’?identified?by?’passwd’;?

mysql受权其他IP访问

相关文章:

你感兴趣的文章:

标签云: