- 工信部備案號 滇ICP備05000110號-1
- 滇公安備案 滇53010302000111
- 增值電信業務經營許可證 B1.B2-20181647、滇B1.B2-20190004
- 云南互聯網協會理事單位
- 安全聯盟認證網站身份V標記
- 域名注冊服務機構許可:滇D3-20230001
- 代理域名注冊服務機構:新網數碼
? (?) Synonym for `help'.
clear (c) Clear the current input statement. --清除當前輸入的語句
connect ( ) Reconnect to the server. Optional arguments are db and host. --重新連接,通常用于被剔除或異常斷開后重新連接
delimiter (d) Set statement delimiter. --設置命令終止符,缺省為;,比如我們可以設定為/來表示語句結束
edit (e) Edit command with $EDITOR. --編輯緩沖區的上一條SQL語句到文件,缺省調用vi,文件會放在/tmp路徑下
ego (G) Send command to mysql server, display result vertically. --控制結果顯示為垂直顯示
exit (q) Exit mysql. Same as quit. --退出mysql
go (g) Send command to mysql server. --發送命令到mysql服務
help (h) Display this help.
nopager ( ) Disable pager, print to stdout. --關閉頁設置,打印到標準輸出
notee ( ) Don't write into outfile. --關閉輸出到文件
pager (P) Set PAGER [to_pager]. Print the query results via PAGER. --設置pager方式,可以設置為調用more,less等等,主要是用于分頁顯示
print (p) Print current command.
prompt (R) Change your mysql prompt. --改變mysql的提示符
quit (q) Quit mysql.
rehash (#) Rebuild completion hash. --自動補齊相關對象名字
source (.) 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.
--上面的所有命令,擴號內的為快捷操作,即只需要輸入“”+ 字母即可執行
售前咨詢
售后咨詢
備案咨詢
二維碼
TOP