Next Previous Up Top Contents Index

4. Syntaxe

4-3 mysql

mysql  Ver 9.11 Distrib 3.21.24-gamma, for sun-solaris2.6 (sparc)
By TCX Datakonsult AB, by Monty
This software comes with ABSOLUTELY NO WARRANTY.

Usage: mysql [OPTIONS] [database]

  -A, --no-auto-rehash  No automatic rehashing. One has to use 'rehash' to
                        get table and field compleation. This gives a quicker
                        start of mysql.
  -B, --batch           print results with a tab as separator, each row on
                        a new line
  -#, --debug=...       output debug log. Often this is 'd:t:o,filename'
  -T, --debug-info      print some debug info at exit
  -e, --execute=...     execute command and quit.(--batch is implicit)
  -f, --force           continue even if we get an sql error.
  -?, --help            display this help and exit
  -h, --host=...        connect to host
  -n, --unbuffered      flush buffer after each query
  -O, --set-variable var=option
                        give a variable an value. --help lists variables
  -p, --password[=...]  password to use when connecting to server
                        If password is not given it's asked from the tty.
  -P  --port=...        Port number to use for connection
  -q, --quick           don't cache result, print it row by row. This may
                        slow down the server if the output is suspended
  -r, --raw             write fields without conversion. Used with --batch
  -s, --silent          be more silent.
  -S  --socket=...      Socket file to use for connection
  -t  --table=...       Output in table format
  -u, --user=#          user for login if not current user
  -v, --verbose         write more (-v -v -v gives the table output format)
  -V, --version         output version information and exit
  -w, --wait            wait and retry if connection is down


Memo mySQL - 29 Apr 1998

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker