Skip to content

Commit

Permalink
update mysql misc
Browse files Browse the repository at this point in the history
  • Loading branch information
snowme34 committed Jan 16, 2019
1 parent 4fb6b0c commit b055f41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/reference/database/mysql/mysql-misc.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ Change my.cnf of slave db, add a `server-id`. note that this must be unique and
If multiple servers are present, no duplication is allowed.

```conf
[myqld]
[mysqld]
server-id = 2
```

Expand Down Expand Up @@ -230,7 +230,7 @@ start slave
Check if it is running properly:

```sql
show processslist; -- run on slave
show processlist; -- run on slave
use test; # on master
create table repl_test (id cnd);
insert into repl_test values(1),(2);
Expand Down

0 comments on commit b055f41

Please sign in to comment.