MySql全套攻略——添加新用户、为用户建立数据库和给用户分配权限

1.添加新用户 只容许本地IP访问 create user 'test'@'localhost' identified by '123456'; 容许外网IP访问html create user 'test'@'%' identified by '123456';刷新受权 flush privileges; 2.为用户建立数据库sql create database test DEFAULT CH
相关文章
相关标签/搜索