"Named commands are disabled. Use \\* form only, or use named commands only in the beginning of a line ending with a semicolon (;) Since version 10.9 the client now starts with this option ENABLED by default! Disable with '-G'. Long format commands still work from the first line. WARNING: option deprecated; use --disable-named-commands instead.",
0,0,0,GET_NO_ARG,NO_ARG,0,0,0,0,0,0},
{"named-commands",'G',
{"named-commands",'G',
"Enable named commands. Named commands mean this program's internal commands; see mysql> help . When enabled, the named commands can be used from any line of the query, otherwise only from the first line, before an enter. Disable with --disable-named-commands. This option is disabled by default.",
"Enable named commands. Named commands mean this program's internal commands; see mysql> help . When enabled, the named commands can be used from any line of the query, otherwise only from the first line, before an enter. Disable with --disable-named-commands. This option is disabled by default.",
"Named commands are disabled. Use \\* form only, or use named commands only in the beginning of a line ending with a semicolon (;) Since version 10.9 the client now starts with this option ENABLED by default! Disable with '-G'. Long format commands still work from the first line. WARNING: option deprecated; use --disable-named-commands instead.",
0,0,0,GET_NO_ARG,NO_ARG,0,0,0,0,0,0},
{"ignore-spaces",'i',"Ignore space after function names.",0,0,0,
{"ignore-spaces",'i',"Ignore space after function names.",0,0,0,
GET_NO_ARG,NO_ARG,0,0,0,0,0,0},
GET_NO_ARG,NO_ARG,0,0,0,0,0,0},
{"local-infile",OPT_LOCAL_INFILE,"Enable/disable LOAD DATA LOCAL INFILE.",
{"local-infile",OPT_LOCAL_INFILE,"Enable/disable LOAD DATA LOCAL INFILE.",
"Pager to use to display results. If you don't supply an option the default pager is taken from your ENV variable PAGER. Valid pagers are less, more, cat [> filename], etc. See interactive help (\\h) also. This option does not work in batch mode.",
"Pager to use to display results. If you don't supply an option the default pager is taken from your ENV variable PAGER. Valid pagers are less, more, cat [> filename], etc. See interactive help (\\h) also. This option does not work in batch mode. Disable with --disable-pager. This option is disabled by default.",
0,0,0,GET_STR,OPT_ARG,0,0,0,0,0,0},
0,0,0,GET_STR,OPT_ARG,0,0,0,0,0,0},
{"no-pager",OPT_NOPAGER,
"Disable pager and print to stdout. See interactive help (\\h) also. WARNING: option deprecated; use --disable-pager instead.",
0,0,0,GET_NO_ARG,NO_ARG,0,0,0,0,0,0},
#endif
#endif
{"password",'p',
{"password",'p',
"Password to use when connecting to server. If password is not given it's asked from the tty.",
"Password to use when connecting to server. If password is not given it's asked from the tty.",
{"debug-info",'T',"Print some debug info at exit.",(gptr*)&info_flag,
{"debug-info",'T',"Print some debug info at exit.",(gptr*)&info_flag,
(gptr*)&info_flag,0,GET_BOOL,NO_ARG,0,0,0,0,0,0},
(gptr*)&info_flag,0,GET_BOOL,NO_ARG,0,0,0,0,0,0},
{"tee",OPT_TEE,
{"tee",OPT_TEE,
"Append everything into outfile. See interactive help (\\h) also. Does not work in batch mode.",
"Append everything into outfile. See interactive help (\\h) also. Does not work in batch mode. Disable with --disable-tee. This option is disabled by default.",
0,0,0,GET_STR,REQUIRED_ARG,0,0,0,0,0,0},
0,0,0,GET_STR,REQUIRED_ARG,0,0,0,0,0,0},
{"no-tee",OPT_NOTEE,"Disable outfile. See interactive help (\\h) also. WARNING: option deprecated; use --disable-tee instead",0,0,0,GET_NO_ARG,
NO_ARG,0,0,0,0,0,0},
#ifndef DONT_ALLOW_USER_CHANGE
#ifndef DONT_ALLOW_USER_CHANGE
{"user",'u',"User for login if not current user.",(gptr*)¤t_user,
{"user",'u',"User for login if not current user.",(gptr*)¤t_user,
ERROR 1064 (42000) at line 3: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
ERROR 1064 (42000) at line 3: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
ERROR at line 1: USE must be followed by a database name
ERROR at line 1: USE must be followed by a database name
? (\?) Synonym for `help'.
clear (\c) Clear command.
connect (\r) Reconnect to the server. Optional arguments are db and host.
delimiter (\d) Set statement delimiter. NOTE: Takes the rest of the line as new delimiter.
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.
help (\h) Display this help.
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 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.
? (\?) Synonym for `help'.
clear (\c) Clear command.
connect (\r) Reconnect to the server. Optional arguments are db and host.
delimiter (\d) Set statement delimiter. NOTE: Takes the rest of the line as new delimiter.
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.
help (\h) Display this help.
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 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.