阿里云轻量应用服务器mysql开启远程访问

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