WEB开发网
开发学院数据库MySQL linux 下 MySQL源码包的安装 阅读

linux 下 MySQL源码包的安装

 2009-05-07 11:19:31 来源:WEB开发网   
核心提示: List of all MySQL commands: (Commands must appear first on line and end with ';') help (\h) Display this help. ? (\?) Synonym for `help&

List of all MySQL commands:

(Commands must appear first on line and end with ';')

help (\h) Display this help.

? (\?) Synonym for `help'.

clear (\c) Clear command.

connect (\r) Reconnect to the server. Optional arguments are db and host.

edit (\e) Edit command with $EDITOR.

ego (\G) Send command to mysql server, display result vertically.

exit (\q) Exit mysql. Same as quit.

go (\g) Send command to mysql server.

nopager (\n) Disable pager, print to stdout.

notee (\t) Don't write into outfile.

pager (\P) Set PAGER [to_pager]. Print the query results via PAGER.

print (\p) Print current command.

prompt (\R) Change your mysql prompt.

quit (\q) Quit mysql.

rehash (\#) Rebuild completion hash.

source (\.) Execute a 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.

Connection id: 2 (Can be used with mysqladmin kill)

mysql> quit

Bye

[root@localhost mysql]#

退出数据库

上一页  1 2 3 4 5 6 

Tags:linux MySQL 源码

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接