Setting up the external replica configuration from Google SQL master

I am trying to set up an external replica from my Google SQL instance, I followed the steps here: https://cloud.google.com/sql/docs/mysql/replication/configure-external-replica#2nd-gen and everything was fine, when I START SLAVE;, I get this in the SLAVE STATUS:

'Can't create database 'DATABASE_NAME'; database exists' on query. Default database: 'DATABASE_NAME'. Query: 'CREATE DATABASE `DATABASE_NAME` CHARACTER SET 'utf8'' 

Seems like the replication is starting from the very beginning, but in this part of the steps, it says I need to import the sql, so the database already exists.

Any ideas what I am doing wrong?

Add Comment
0 Answer(s)

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.