mysql学习笔记
授权:
GRANT ALL ON database.* TO 'user'@'localhost';
GRANT SELECT ON database.* TO 'readonly'@'%' IDENTIFIED BY 'readonly';
授权:
GRANT ALL ON database.* TO 'user'@'localhost';
GRANT SELECT ON database.* TO 'readonly'@'%' IDENTIFIED BY 'readonly';