Guest User

Untitled

a guest
Jun 23rd, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.29 KB | None | 0 0
  1. mysql Ver 14.14 Distrib 5.1.57, for Win64 (unknown)
  2. Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
  3. This software comes with ABSOLUTELY NO WARRANTY. This is free software,
  4. and you are welcome to modify and redistribute it under the GPL v2 license
  5. Usage: mysql [OPTIONS] [database]
  6. -?, --help Display this help and exit.
  7. -I, --help Synonym for -?
  8. --auto-rehash Enable automatic rehashing. One doesn't need to use
  9. 'rehash' to get table and field completion, but startup
  10. and reconnecting may take a longer time. Disable with
  11. --disable-auto-rehash.
  12. -A, --no-auto-rehash
  13. No automatic rehashing. One has to use 'rehash' to get
  14. table and field completion. This gives a quicker start of
  15. mysql and disables rehashing on reconnect.
  16. -B, --batch Don't use history file. Disable interactive behavior.
  17. (Enables --silent.)
  18. --character-sets-dir=name
  19. Directory for character set files.
  20. --column-type-info Display column type information.
  21. -c, --comments Preserve comments. Send comments to the server. The
  22. default is --skip-comments (discard comments), enable
  23. with --comments.
  24. -C, --compress Use compression in server/client protocol.
  25. -#, --debug[=#] This is a non-debug version. Catch this and exit.
  26. --debug-check Check memory and open file usage at exit.
  27. -T, --debug-info Print some debug info at exit.
  28. -D, --database=name Database to use.
  29. --default-character-set=name
  30. Set the default character set.
  31. --delimiter=name Delimiter to be used.
  32. -e, --execute=name Execute command and quit. (Disables --force and history
  33. file.)
  34. -E, --vertical Print the output of a query (rows) vertically.
  35. -f, --force Continue even if we get an SQL error.
  36. -G, --named-commands
  37. Enable named commands. Named commands mean this program's
  38. internal commands; see mysql> help . When enabled, the
  39. named commands can be used from any line of the query,
  40. otherwise only from the first line, before an enter.
  41. Disable with --disable-named-commands. This option is
  42. disabled by default.
  43. -g, --no-named-commands
  44. Named commands are disabled. Use \* form only, or use
  45. named commands only in the beginning of a line ending
  46. with a semicolon (;). Since version 10.9, the client now
  47. starts with this option ENABLED by default. Disable with
  48. '-G'. Long format commands still work from the first
  49. line. WARNING: option deprecated; use
  50. --disable-named-commands instead.
  51. -i, --ignore-spaces Ignore space after function names.
  52. --local-infile Enable/disable LOAD DATA LOCAL INFILE.
  53. -b, --no-beep Turn off beep on error.
  54. -h, --host=name Connect to host.
  55. -H, --html Produce HTML output.
  56. -X, --xml Produce XML output.
  57. --line-numbers Write line numbers for errors.
  58. -L, --skip-line-numbers
  59. Don't write line number for errors.
  60. -n, --unbuffered Flush buffer after each query.
  61. --column-names Write column names in results.
  62. -N, --skip-column-names
  63. Don't write column names in results.
  64. -O, --set-variable=name
  65. Change the value of a variable. Please note that this
  66. option is deprecated; you can set variables directly with
  67. --variable-name=value.
  68. --sigint-ignore Ignore SIGINT (CTRL-C).
  69. -o, --one-database Ignore statements except those that occur while the
  70. default database is the one named at the command line.
  71. -p, --password[=name]
  72. Password to use when connecting to server. If password is
  73. not given it's asked from the tty.
  74. -W, --pipe Use named pipes to connect to server.
  75. -P, --port=# Port number to use for connection or 0 for default to, in
  76. order of preference, my.cnf, $MYSQL_TCP_PORT,
  77. /etc/services, built-in default (3306).
  78. --prompt=name Set the mysql prompt to this value.
  79. --protocol=name The protocol to use for connection (tcp, socket, pipe,
  80. memory).
  81. -q, --quick Don't cache result, print it row by row. This may slow
  82. down the server if the output is suspended. Doesn't use
  83. history file.
  84. -r, --raw Write fields without conversion. Used with --batch.
  85. --reconnect Reconnect if the connection is lost. Disable with
  86. --disable-reconnect. This option is enabled by default.
  87. -s, --silent Be more silent. Print results with a tab as separator,
  88. each row on new line.
  89. --shared-memory-base-name=name
  90. Base name of shared memory.
  91. -S, --socket=name The socket file to use for connection.
  92. --ssl Enable SSL for connection (automatically enabled with
  93. other flags).Disable with --skip-ssl.
  94. --ssl-ca=name CA file in PEM format (check OpenSSL docs, implies
  95. --ssl).
  96. --ssl-capath=name CA directory (check OpenSSL docs, implies --ssl).
  97. --ssl-cert=name X509 cert in PEM format (implies --ssl).
  98. --ssl-cipher=name SSL cipher to use (implies --ssl).
  99. --ssl-key=name X509 key in PEM format (implies --ssl).
  100. --ssl-verify-server-cert
  101. Verify server's "Common Name" in its cert against
  102. hostname used when connecting. This option is disabled by
  103. default.
  104. -t, --table Output in table format.
  105. --tee=name Append everything into outfile. See interactive help (\h)
  106. also. Does not work in batch mode. Disable with
  107. --disable-tee. This option is disabled by default.
  108. --no-tee Disable outfile. See interactive help (\h) also. WARNING:
  109. Option deprecated; use --disable-tee instead.
  110. -u, --user=name User for login if not current user.
  111. -U, --safe-updates Only allow UPDATE and DELETE that uses keys.
  112. -U, --i-am-a-dummy Synonym for option --safe-updates, -U.
  113. -v, --verbose Write more. (-v -v -v gives the table output format).
  114. -V, --version Output version information and exit.
  115. -w, --wait Wait and retry if connection is down.
  116. --connect_timeout=# Number of seconds before connection timeout.
  117. --max_allowed_packet=#
  118. The maximum packet length to send to or receive from
  119. server.
  120. --net_buffer_length=#
  121. The buffer size for TCP/IP and socket communication.
  122. --select_limit=# Automatic limit for SELECT when using --safe-updates.
  123. --max_join_size=# Automatic limit for rows in a join when using
  124. --safe-updates.
  125. --secure-auth Refuse client connecting to server if it uses old
  126. (pre-4.1.1) protocol.
  127. --server-arg=name Send embedded server this as a parameter.
  128. --show-warnings Show warnings after every statement.
  129.  
  130. Default options are read from the following files in the given order:
  131. C:\Windows\my.ini C:\Windows\my.cnf C:\my.ini C:\my.cnf C:\Program Files\MySQL\MySQL Server 5.1\my.ini C:\Program Files\MySQL\MySQL Server 5.1\my.cnf
  132. The following groups are read: mysql client
  133. The following options may be given as the first argument:
  134. --print-defaults Print the program argument list and exit.
  135. --no-defaults Don't read default options from any option file.
  136. --defaults-file=# Only read default options from the given file #.
  137. --defaults-extra-file=# Read this file after the global files are read.
  138.  
  139. Variables (--variable-name=value)
  140. and boolean options {FALSE|TRUE} Value (after reading options)
  141. --------------------------------- -----------------------------
  142. auto-rehash TRUE
  143. character-sets-dir (No default value)
  144. column-type-info FALSE
  145. comments FALSE
  146. compress FALSE
  147. debug-check FALSE
  148. debug-info FALSE
  149. database (No default value)
  150. default-character-set UTF8
  151. delimiter ;
  152. vertical FALSE
  153. force FALSE
  154. named-commands FALSE
  155. ignore-spaces FALSE
  156. local-infile FALSE
  157. no-beep FALSE
  158. host localhost
  159. html FALSE
  160. xml FALSE
  161. line-numbers TRUE
  162. unbuffered FALSE
  163. column-names TRUE
  164. sigint-ignore FALSE
  165. port 3306
  166. prompt mysql>
  167. quick FALSE
  168. raw FALSE
  169. reconnect FALSE
  170. shared-memory-base-name (No default value)
  171. socket (No default value)
  172. ssl FALSE
  173. ssl-ca (No default value)
  174. ssl-capath (No default value)
  175. ssl-cert (No default value)
  176. ssl-cipher (No default value)
  177. ssl-key (No default value)
  178. ssl-verify-server-cert FALSE
  179. table FALSE
  180. user root
  181. safe-updates FALSE
  182. i-am-a-dummy FALSE
  183. connect_timeout 0
  184. max_allowed_packet 16777216
  185. net_buffer_length 16384
  186. select_limit 1000
  187. max_join_size 1000000
  188. secure-auth FALSE
  189. show-warnings FALSE
Add Comment
Please, Sign In to add comment