给Mysql添加远程访问权限的方法
时间:2020-11-02 13:38 作者:admin610456
user:myuser pwd:mypassword 从任何主机连接到mysql/' target='_blank'>mysql服务器
GRANT ALL PRIVILEGES ON *.* TO 'myuser'@'%' IDENTIFIED BY 'mypassword' WITH GRANT OPTION;
user:myuser pwd:mypassword 从192.168.1.3连接到MySQL服务器
GRANT ALL PRIVILEGES ON *.* TO 'myuser'@'192.168.1.3' IDENTIFIED BY 'mypassword' WITH GRANT OPTION;
(责任编辑:admin)