Advertisement
Guest User

Untitled

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