add slave1

This commit is contained in:
Ludovic CANDELLIER
2024-01-22 23:04:23 +01:00
parent 1533c18c54
commit 1677ec6b03
2 changed files with 35 additions and 0 deletions

15
docker/mysql-slave1/my.cnf Executable file
View File

@@ -0,0 +1,15 @@
# The MySQL Client configuration file.
#
# For explanations see
# http://dev.mysql.com/doc/mysql/en/server-system-variables.html
[mysql]
[mysqld]
sql-mode="STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION"
character-set-server=utf8
default-authentication-plugin=mysql_native_password
#[Must] Start Binary Logs
log-bin=mysql-bin
#[Must] Set the unique ID of the server, default 1, usually the last segment of IP
server-id=3002