August 2016
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
293031  

Categories

August 2016
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
293031  

Deploy MySQL master-slave on CentOS7

Deploy MySQL master-slave on CentOS7

2 Locate the directory my.cnf file resides: MySQL –help | grep my.cnf general my.cnf are located in /etc/directory;

3 with vim open MySQL configuration file my.cnf: vim /etc/my.cnf

4 Locate the [mysqld] and subsequently add the following configuration: # uniquely identifies this MySQL server, the default value is 1, the […]