Create User
1 |
mysql> CREATE USER 'new_master_user'@'%' IDENTIFIED BY 'password'; |
Grant permissions
1 |
GRANT SELECT ON dbname.tablename TO 'new_master_user'@'%' WITH GRANT OPTION; |
ดูเพิ่มเติม
https://aws.amazon.com/th/premiumsupport/knowledge-center/duplicate-master-user-mysql/
ป้ายกำกับ:mysql