Skip to content

Commit

Permalink
Update tutorial-12-mysql_cli.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Barenboim authored Sep 10, 2024
1 parent 9c39879 commit 5e86bc2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/en/tutorial-12-mysql_cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ mysql://username:password@host:port/dbname?character\_set=charset&character\_set

- set scheme to be **mysqls://** for accessing MySQL with SSL connnection (MySQL server 5.7 or above is required).

- fill in the username and the password for the MySQL database;
- fill in the username and the password for the MySQL database; Special characters in password need to be escaped.
~~~cpp
// Password: @@@@####
std::string url = "mysql://root:" + StringUtil::url_encode_component("@@@@####") + "@127.0.0.1";
~~~

- the default port number is 3306;

Expand Down

0 comments on commit 5e86bc2

Please sign in to comment.