Following the documentation to configure external master replication: https://cloud.google.com/sql/docs/mysql/replication/configure-external-master
I have created a First Generation read replica that is replicating from an external master. But I cannot connect to the Cloud SQL read replica. The documentation states you need to create a user account on the read replica. Attempting to do this gives you Operation not allowed for a read replica.
And I see a root
and (anonymous)
user already but I cannot change their passwords. I get the same error message Operation not allowed for a read replica.
See this screenshot:
(anonymous)
androot
users that are authorized fromlocalhost
. If you need to create users on the external master to propagate down to the read replica, I think there should be more clear messaging. That sounds like a security limitation. What if you don't want users connecting to both the master and read replica? – Justin Naldzinuser
andpassword
created in the Master external instance. I agree that maybe the message should be clearer. – Victor M Herasme Perez