a counter that increments for each statement you issue
\d
當前日期
\d
當前資料庫
\h
資料庫主機
\l
the current delimiter (new in 5.1.12)界定符
\m
當前時間(分)
\n
a newline character 換行符
\o
the current month in three-letter format (jan, feb, …)
\o
the current month in numeric format
\p
am/pm
\p
the current tcp/ip port or socket file 埠號
\r
當前時間(小時)(0–23)
\r
當前時間(小時)(1–12)
\s
semicolon 分號
\s
當前時間(秒)
\t
a tab character 乙個製表位(table鍵,四個空格的位置)
\u
your fulluser_name
@host_name
account name
\u
資料庫使用者名稱
\v
the server version
\w
the current day of the week in three-letter format (mon, tue, …)
\y
the current year, four digits
\y
the current year, two digits
\_
a space
\
a space (a space follows the backslash)
\'
single quote
\"
double quote
\\
a literal 「\
」 backslash character
\x
x
, for any 「x
」 not listed above
mysql提示符是什麼 MySQL提示符
下表顯示出可以看見的各個提示符並簡述它們所表示的mysql的狀態 提示符含義 mysql 準備好接受新命令。等待多行命令的下一行。等待下一行,等待以單引號 開始的字串的結束。等待下一行,等待以雙引號 開始的字串的結束。等待下一行,等待以反斜點 開始的識別符的結束。等待下一行,等待以 開始的注釋的結束...
mysql提示符詳解 MySQL提示符含義
標籤 mysql 準備好接受新命令。說明 正常等待輸入的提示符。等待多行命令的下一行。說明 這是將乙個sql語句分多行輸入時的提示。前提是你輸入了乙個不以分號結尾的sql語句。等待下一行,等待以單引號 開始的字串的結束。說明 前面你應該是已經輸入了乙個單引號,並且此單引號沒有結束,系統等待你輸入另乙...
linux shell提示符學習
有時候看到的shell提示符是 sh 3.2 有時候看到的shell提示符是 還有時候看到的shell提示符是 還有很多其它不同樣子的shell提示符。為什麼會這樣呢?這跟shell提示符符號設定的環境變數ps1 prompt sign 的設定值有關,可以通過man bash來檢視一些特殊符號所代表...