Skip to content

Commit 2dacda7

Browse files
committed
fix(mysql) client meta command documentation
1 parent bcff39a commit 2dacda7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

instruction/mysql/mysql.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ For example, if you created your root user with the password `edgarcobb` you wou
3030
mysqlsh -u root -pedgarcobb --sql
3131
```
3232

33-
Once the shell starts up you can get help by typing `/help` or exit the shell using `/exit`. If you start the shell without passing in the commandline arguments, you can use `/connect root@localhost:3306` and it will prompt you for the admin password. If you made a different account, you can replace `root` for the username of your other account.
33+
Once the shell starts up you can get help by typing `\help` or exit the shell using `\exit`. If you start the shell without passing in the commandline arguments, you can use `\connect root@localhost:3306` and it will prompt you for the admin password. If you made a different account, you can replace `root` for the username of your other account.
3434

3535
You can now start typing SQL queries! For example, try the following:
3636

@@ -39,7 +39,7 @@ SHOW databases;
3939
USE mysql;
4040
SHOW tables;
4141
SELECT host, user FROM user;
42-
/exit
42+
\exit
4343
```
4444

4545
![MySQL shell](mysqlsh.png)

0 commit comments

Comments
 (0)