| ? | (\?) | [命令说明] Synonym for `help'. |
| clear | (\c) | [清除输入] Clear the current input statement. |
| connect | (\r) | [连接] Reconnect to the server. Optional arguments are db and host. |
| delimiter | (\d) | [修改语句分隔符] Set statement delimiter. |
| ego | (\G) | Send command to mysql server, display result vertically. |
| exit | (\q) | [退出mySQL] Exit mysql. Same as quit. |
| go | (\g) | Send command to mysql server. |
| help | (\h) | [命令说明] Display this help. |
| notee | (\t) | Don't write into outfile. |
| print | (\p) | Print current command. |
| prompt | (\R) | [修改提示] Change your mysql prompt. |
| quit | (\q) | [结束mySQL] Quit mysql. |
| rehash | (\#) | Rebuild completion hash. |
| source | (\.) | [执行SQL文件] Execute an SQL script file. Takes a file name as an argument. |
| status | (\s) | [获取系统状态信息] Get status information from the server. |
| system | (\!) | Execute a system shell command. |
| tee | (\T) | Set outfile [to_outfile]. Append everything into given outfile. |
| use | (\u) | [打开数据库] Use another database. Takes database name as argument. |
| charset | (\C) | [修改字符集] Switch to another charset. Might be needed for processing binlog with multi-byte charsets. |
| warnings | (\W) | [要警告] Show warnings after every statement. |
| nowarning | (\w) | [不要警告] Don't show warnings after every statement. |
| resetconnection | (\x) | Clean session context. |
|
| show databases; | | 列出所有数据库 |