[docs] Add FAQ for MySQL 8.0 Public Key Retrieval setting

This closes #278
pull/365/head
yangbin09 4 years ago committed by GitHub
parent ce4c0f7f39
commit 6d2cc41af9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -506,3 +506,12 @@ The `table-name` option supports regular expressions to monitor multiple tables
#### Q3: ConnectException: Received DML '...' for processing, binlog probably contains events generated with statement or mixed based replication format
If there is above exception, please check `binlog_format` is `ROW`, you can check this by running `show variables like '%binlog_format%'` in MySQL client. Please note that even if the `binlog_format` configuration of your database is `ROW`, this configuration can be changed by other sessions, for example, `SET SESSION binlog_format='MIXED'; SET SESSION tx_isolation='REPEATABLE-READ'; COMMIT;`. Please also make sure there are no other session are changing this configuration.
#### Q4: Mysql8.0 Public Key Retrieval is not allowed ?
This is because the MySQL user account uses `sha256_password` authentication which requires transporting password under protection like TLS protocol. A simple way is to enable the MySQL user account use naive password.
```sql
-- MySQL
ALTER USER 'username'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';
FLUSH PRIVILEGES;
```

Loading…
Cancel
Save