| 1 |
include/master-slave.inc |
| 2 |
Warnings: |
| 3 |
Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. |
| 4 |
Note #### Storing MySQL user name or password information in the connection metadata repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START REPLICA; see the 'START REPLICA Syntax' in the MySQL Manual for more information. |
| 5 |
[connection master] |
| 6 |
[connection master] |
| 7 |
SELECT @@global.caching_sha2_password_digest_rounds; |
| 8 |
@@global.caching_sha2_password_digest_rounds |
| 9 |
200000 |
| 10 |
CREATE USER wl_14281_7000@localhost IDENTIFIED WITH caching_sha2_password BY 'WL_14281_PASSWORD'; |
| 11 |
SELECT SUBSTRING(authentication_string, 4,3) AS length FROM mysql.user WHERE user='wl_14281_7000'; |
| 12 |
length |
| 13 |
0C8 |
| 14 |
SELECT user FROM information_schema.USER_ATTRIBUTES; |
| 15 |
USER |
| 16 |
wl_14281_7000 |
| 17 |
include/sync_slave_sql_with_master.inc |
| 18 |
[connection slave] |
| 19 |
SELECT @@global.caching_sha2_password_digest_rounds; |
| 20 |
@@global.caching_sha2_password_digest_rounds |
| 21 |
10000 |
| 22 |
SELECT SUBSTRING(authentication_string, 4,3) AS length FROM mysql.user WHERE user='wl_14281_7000'; |
| 23 |
length |
| 24 |
0C8 |
| 25 |
SELECT user FROM information_schema.USER_ATTRIBUTES; |
| 26 |
USER |
| 27 |
wl_14281_7000 |
| 28 |
[connection master] |
| 29 |
DROP USER wl_14281_7000@localhost; |
| 30 |
include/rpl_end.inc |