mysql如何查看配置參數(shù)和獲取幫助

下面講講關(guān)于MySQL如何查看配置參數(shù)和獲取幫助,文字的奧妙在于貼近主題相關(guān)。所以,閑話就不談了,我們直接看下文吧,相信看完mysql如何查看配置參數(shù)和獲取幫助這篇文章你一定會有所受益。

創(chuàng)新互聯(lián)網(wǎng)站建設(shè)公司,提供成都網(wǎng)站建設(shè)、成都網(wǎng)站設(shè)計,網(wǎng)頁設(shè)計,建網(wǎng)站,PHP網(wǎng)站建設(shè)等專業(yè)做網(wǎng)站服務(wù);可快速的進行網(wǎng)站開發(fā)網(wǎng)頁制作和功能擴展;專業(yè)做搜索引擎喜愛的網(wǎng)站,是專業(yè)的做網(wǎng)站團隊,希望更多企業(yè)前來合作!

查看配置參數(shù):

SHOW VARIABLES LIKE '%timeout%'

2)MySQL客戶端工具自帶的幫助

?     (\?) 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.                    --設(shè)置命令終止符,缺省為;,比如我們可以設(shè)定為/來表示語句結(jié)束 

edit   (\e) Edit command with $EDITOR.                   --編輯緩沖區(qū)的上一條SQL語句到文件,缺省調(diào)用vi,文件會放在/tmp路徑下

ego    (\G) Send command to mysql server, display result vertically.    --控制結(jié)果顯示為垂直顯示

exit   (\q) Exit mysql. Same as quit.                   --退出mysql

go    (\g) Send command to mysql server.                 --發(fā)送命令到mysql服務(wù)

help   (\h) Display this help.

nopager  (\n) Disable pager, print to stdout.                --關(guān)閉頁設(shè)置,打印到標準輸出  

notee   (\t) Don't write into outfile.                   --關(guān)閉輸出到文件

pager   (\P) Set PAGER [to_pager]. Print the query results via PAGER.    --設(shè)置pager方式,可以設(shè)置為調(diào)用more,less等等,主要是用于分頁顯示

print   (\p) Print current command.           

prompt  (\R) Change your mysql prompt.                   --改變mysql的提示符 

quit   (\q) Quit mysql.                             

rehash  (\#) Rebuild completion hash.                    --自動補齊相關(guān)對象名字  

source  (\.) Execute an SQL script file. Takes a file name as an argument. --執(zhí)行腳本文件

status  (\s) Get status information from the server.            --獲得狀態(tài)信息

system  (\!) Execute a system shell command.                --執(zhí)行系統(tǒng)命令   

tee    (\T) Set outfile [to_outfile]. Append everything into given outfile.--操作結(jié)果輸出到文件 

use    (\u) Use another database. Takes database name as argument.     --切換數(shù)據(jù)庫

charset  (\C) Switch to another charset. Might be needed for processing binlog with multi-byte charsets. --設(shè)置字符集

warnings (\W) Show warnings after every statement.              --打印警告信息

nowarning (\w) Don't show warnings after every statement.

3、服務(wù)端的相關(guān)幫助

--獲取云服務(wù)器管理相關(guān)的幫助,輸入help contents

mysql> help contents;

對于以上mysql如何查看配置參數(shù)和獲取幫助相關(guān)內(nèi)容,大家還有什么不明白的地方嗎?或者想要了解更多相關(guān),可以繼續(xù)關(guān)注我們的行業(yè)資訊板塊。

分享文章:mysql如何查看配置參數(shù)和獲取幫助
轉(zhuǎn)載來于:http://muchs.cn/article42/ghihhc.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供外貿(mào)建站、網(wǎng)站建設(shè)、響應(yīng)式網(wǎng)站、網(wǎng)站維護面包屑導航、營銷型網(wǎng)站建設(shè)

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)

網(wǎng)站優(yōu)化排名