MySQL Forums
Forum List  »  Replication

Re: Issue with Replication using MySQL 5.7.19 on Windows 2012
Posted by: Ankur Tyagi
Date: June 14, 2019 01:47AM

=================slave my.ini file==========================
[mysqld]
server-id = 101
binlog-format = mixed
log_bin = C:\mysql\provision3308\\log\\mysql-bin
relay-log = C:\mysql\provision3308\\log\\mysql-relay-bin
log-slave-updates = 1
read-only = 1
basedir = "C:\Program Files\MySQL\MySQL Server 5.7"
datadir = "C:\mysql\provision3308\\data"
tmpdir = "C:\mysql\provision3308\\tmp"
socket = "C:\mysql\provision3308\\mysql.sock"
lc_messages_dir = "C:\Program Files\MySQL\MySQL Server 5.7\\share\\english"
port = 3308
sql_mode = NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES,NO_ZERO_DATE,NO_ZERO_IN_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER
explicit_defaults_for_timestamp = 1
log-error=C:\mysql\provision3308\\mysqld_error.log
pid-file=C:\mysql\provision3308\\mysqld.pid
replicate-do-db =

[mysqladmin]
user = root

[mysqld_safe]
log-error=C:\mysql\provision3308\\mysqld_error.log
pid-file=C:\mysql\provision3308\\mysqld.pid
=======================================================================


=================master my.ini file==========================
[client]
[mysql]
[mysqld]
back_log=80
bind-address=0.0.0.0
binlog_row_event_max_size=8K
datadir=C:/ProgramData/MySQL/MySQL Server 5.7/Data
default-storage-engine=INNODB
flush_time=0
general-log=0
general_log_file="xxxxxxxxxx.log"
innodb_autoextend_increment=64
innodb_buffer_pool_instances=8
innodb_buffer_pool_size=64M
innodb_checksum_algorithm=0
innodb_concurrency_tickets=5000
innodb_file_per_table=1
innodb_flush_log_at_trx_commit=1
innodb_log_buffer_size=1M
innodb_log_file_size=48M
innodb_old_blocks_time=1000
innodb_open_files=300
innodb_stats_on_metadata=0
innodb_thread_concurrency=8
join_buffer_size=256K
key_buffer_size=8M
log-bin=mysql-bin
log-error="xxxxxxxxxx.err"
log-output=FILE
long_query_time=10
lower_case_table_names=1
max_allowed_packet=4M
max_connect_errors=100
max_connections=151
myisam_max_sort_file_size=100G
myisam_sort_buffer_size=8M
no-beep
open_files_limit=4161
port=3306
port=3306
read_buffer_size=0
read_rnd_buffer_size=0
secure-file-priv="C:/ProgramData/MySQL/MySQL Server 5.7/Uploads"
server-id=1
slow-query-log=1
slow_query_log_file="10-43-97-42-slow.log"
sort_buffer_size=256K
sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
sync_master_info=10000
sync_relay_log=10000
sync_relay_log_info=10000
table_definition_cache=1400
table_open_cache=2000
thread_cache_size=10
tmp_table_size=16M
================================================================

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.