CREATE DATABASE exampledb;
CREATE USER 'slave'@'%' IDENTIFIED BY 'aA123456!';
GRANT SELECT, RELOAD, SHOW DATABASES, REPLICATION SLAVE, REPLICATION CLIENT ON *.* TO 'slave'@'%';
FLUSH PRIVILEGES;