Update tutorial-12-mysql_cli.md

This commit is contained in:
xiehan
2021-07-07 16:25:27 +08:00
committed by GitHub
parent 3896ff44a7
commit a9517f51f4

View File

@@ -329,5 +329,10 @@ WFMySQLTask *t3 = conn.create_query_task(query, task_callback);
query = "COMMIT;";
WFMySQLTask *t4 = conn.create_query_task(query, task_callback);
WFMySQLTask *t5 = conn.create_disconnect_task(task_callback);
((*t1) > t2 > t3 > t4 > t5).start();
SeriesWork *series = create_series_work(t1, nullptr);
*series << t2 << t3 << t4 << t5;
series->start();
~~~
# About MySQL 8
We do not support MySQL 8's new default authentication plugin: caching_sha2_password. If you are using a MySQL 8 server, please change authentication plugin to: mysql_native_password before using our client. [[How to]](https://www.digitalocean.com/community/questions/how-to-change-caching_sha2_password-to-mysql_native_password-on-a-digitalocean-s-managed-mysql-database). We will update our code to support this new authentication as soon as possible.