进入防火墙设置
添加规则
添加mysql
登录mysql
mysql -u root -p mysql
设置root用户远程连接的密码为123456
grant all privileges on *.* to 'root'@'%' identified by '123456' with grant option;
进入防火墙设置
添加规则
添加mysql
登录mysql
mysql -u root -p mysql
设置root用户远程连接的密码为123456
grant all privileges on *.* to 'root'@'%' identified by '123456' with grant option;