Category - Database

MySQL    2018-11-23 00:09:52    34    0    0
创建用户: ```sql CREATE USER 'admpub'@'localhost' IDENTIFIED BY 'password'; ``` 授权: ```sql GRANT ALL ON admpub.* TO 'admpub'@'localhost'; ``` 只读授权: ```sql GRANT SELECT ON *.* TO admpub@'%' IDENTIFIED B