摘要:
登录MySQL mysql -u root -p 添加新用户 允许本地 IP 访问 localhost, 127.0.0.1 create user 'test'@'localhost' identified by '123456'; 允许外网 IP 访问 create user 'test'@'% 阅读全文
摘要:
MySQL 赋予用户权限命令的简单格式可概括为: grant {权限} on {数据库对象} to {用户} 一、grant 普通用户--查询、插入、更新、删除 数据库中所有表数据的权利。 grant select on testdb.* to common_user@'%' grant inser 阅读全文