How to add new database to existing master slave replication in mysql 8

I have an existing percona mysql 8.0.26 master-slave configuration in place.
How do I add a new database to be replicated to the slave.
Are there any steps or has anyone created. Please share.

1 Like

On the source MySQL, simply create the database CREATE DATABASE IF NOT EXISTS myDatabase and that will replicate to the replica and be executed. Make sure replication is indeed running by SHOW REPLICA STATUS\G on the replica.