Displays information about databases, tables, columns and indexes.
Displays information about databases, tables, columns, and indexes.
@cindex @code{mysql_install_db}
@item mysql_install_db
...
...
@@ -27873,7 +27873,7 @@ shell> replace a b b a -- file1 file2 ...
@code{safe_mysqld} is the recommended way to start a @code{mysqld}
daemon on Unix. @code{safe_mysqld} adds some safety features such as
restarting the server when an error occurs and logging runtime
restarting the server when an error occurs and logging run-time
information to a log file.
Normally one should never edit the @code{safe_mysqld} script, but
...
...
@@ -27963,7 +27963,7 @@ edited version that you can reinstall.
@cindex scripts
@cindex @code{mysql}
@node mysql, mysqladmin, safe_mysqld, Tools
@section The command line tool
@section The Command-line Tool
@code{mysql} is a simple SQL shell (with GNU @code{readline} capabilities).
It supports interactive and non-interactive use. When used interactively,
...
...
@@ -27981,9 +27981,9 @@ If you have problems due to insufficient memory in the client, use the
@code{mysql_use_result()} rather than @code{mysql_store_result()} to
retrieve the result set.
Using @code{mysql} is very easy; Just start it as follows
@code{mysql database} or @code{mysql --user=user_name --password=your_password database}. Type a SQL statement, end it with @samp{;}, @samp{\g} or @samp{\G}
and press return/enter.
Using @code{mysql} is very easy. Just start it as follows:
@code{mysql database} or @code{mysql --user=user_name --password=your_password database}. Type a SQL statement, end it with @samp{;}, @samp{\g}, or @samp{\G}
and press RETURN/ENTER.
@cindex command line options
@cindex options, command line
...
...
@@ -27993,7 +27993,7 @@ and press return/enter.
@table @code
@cindex help option
@item -?, --help
Display this help and exit
Display this help and exit.
@cindex automatic rehash option
@item -A, --no-auto-rehash
No automatic rehashing. One has to use 'rehash' to get table and field
...
...
@@ -28011,10 +28011,10 @@ Directory where character sets are located.
Use compression in server/client protocol.
@cindex debug option
@item -#, --debug[=...]
Debug log. Default is 'd:t:o,/tmp/mysql.trace'
Debug log. Default is 'd:t:o,/tmp/mysql.trace'.
@cindex database option
@item -D, --database=..
Database to use; This is mainly useful in the @code{my.cnf} file.
Database to use. This is mainly useful in the @code{my.cnf} file.
@cindex default character set option
@item
--default-character-set=... Set the default character set.
...
...
@@ -28031,8 +28031,8 @@ Continue even if we get a SQL error.
@cindex no-named-commands option
@item -g, --no-named-commands
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!
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!
With the -g option, long format commands will still work from the first
line, however.
@cindex enable-named-commands option
...
...
@@ -28050,7 +28050,7 @@ Connect to the given host.
Produce HTML output.
@cindex skip line numbers option
@item -L, --skip-line-numbers
Don't write line number for errors. Useful when one want's to compare result
Don't write line number for errors. Useful when one wants to compare result
files that includes error messages
@cindex no pager option
@item --no-pager
...
...
@@ -28078,7 +28078,7 @@ pagers are less, more, cat [> filename], etc. See interactive help (\h)
also. This option does not work in batch mode. Pager works only in UNIX.
@cindex password option
@item -p[password], --password[=...]
Password to use when connecting to server. If password is not given on
Password to use when connecting to server. If a password is not given on
the command line, you will be prompted for it. Note that if you use the
short form @code{-p} you can't have a space between the option and the
password.
...
...
@@ -28100,7 +28100,7 @@ Socket file to use for connection.
@item -t --table
Output in table format. This is default in non-batch mode.
@item -T, --debug-info
Print some debug info at exit.
Print some debug information at exit.
@cindex tee option
@item --tee=...
Append everything into outfile. See interactive help (\h) also. Does not
...
...
@@ -28171,7 +28171,7 @@ From the above, pager only works in UNIX.
The @code{status} command gives you some information about the
connection and the server you are using. If you are running in the
@code{--safe-updates} mode, @code{status} will also print the values for
the @code{mysql} variables that affects your queries.
the @code{mysql} variables that affect your queries.
@cindex @code{safe-mode} command
A useful startup option for beginners (introduced in @strong{MySQL} Version 3.23.11) is
...
...
@@ -28192,7 +28192,7 @@ The effect of the above is:
@itemize @bullet
@item
You are not allowed to do an @code{UPDATE} or @code{DELETE} statements
You are not allowed to do an @code{UPDATE} or @code{DELETE} statement
if you don't have a key constraint in the @code{WHERE} part. One can,
however, force an @code{UPDATE/DELETE} by using @code{LIMIT}:
@example
...
...
@@ -28271,9 +28271,9 @@ the same time.
@cindex server administration
@cindex @code{mysladmn}
@node mysqladmin, mysqldump, mysql, Tools
@section Administering a MySQL server
@section Administering a MySQL Server
Utility for performing administrative operations. The syntax is:
A utility for performing administrative operations. The syntax is: