mysql数据库访问云服务器数据库或者外部数据库的权限方法

1.访问单个数据库: mysql>grant all privileges on test.* to 'root'@'%' identified by '123456'; 说明:设置用户名为root,密码为123456,可访问数据库test; 2.访问所有数据库: mysql>grant all privileges on *.* to 'root'@'%' identified by '1234
相关文章
相关标签/搜索