Creating Users in MySQL RDS Reading Replicas

Is it possible / advisable to create users who have access only to the RDS MySQL Read Replica, and not to the main database server? I have several experienced users whom I would like to grant access so that they can run slow queries, but do not want to give them access to the main main database. Trying to do this directly on the server, I get it ERROR 1290 (HY000): The MySQL server is running with the --read-only option so it cannot execute this statement, so I guess that I should do it in the db parameter group or something like that. Anyway, ideas?

+4
source share
2 answers

You should not create a user only in a read replica.

RDS master, , RR, (, , ).

, , RDS, ,

+1

Amazon RDS DB /, read_only false DB, ​​ .

DB ; DB, ​​ .

https://aws.amazon.com/premiumsupport/knowledge-center/rds-read-replica/

, , , read_only. - / , , , , .

0

Source: https://habr.com/ru/post/1654865/


All Articles