Fixes to Chapter 4 of DocTOC.

parent 695cd958
...@@ -14285,31 +14285,27 @@ FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"' ESCAPED BY '\\' ...@@ -14285,31 +14285,27 @@ FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"' ESCAPED BY '\\'
@menu @menu
* Configuring MySQL:: * Configuring MySQL::
* Installing many servers::
* Privilege system:: * Privilege system::
* User Account Management:: * User Account Management::
* Disaster Prevention:: * Disaster Prevention::
* Database Administration:: * Database Administration::
* KILL::
* Localization:: * Localization::
* Server-Side Scripts:: * Server-Side Scripts::
* Client-Side Scripts:: * Client-Side Scripts::
* perror::
* Batch Commands::
* Log Files:: * Log Files::
* Log file maintenance::
* Replication:: * Replication::
* Replication HOWTO::
@end menu @end menu
@node Configuring MySQL, Installing many servers, MySQL Database Administration, MySQL Database Administration @node Configuring MySQL, Privilege system, MySQL Database Administration, MySQL Database Administration
@section Configuring MySQL @section Configuring MySQL
@menu @menu
* Command-line options:: * Command-line options::
* Option files:: * Option files::
* Installing many servers::
* Multiple servers::
@end menu @end menu
@node Command-line options, Option files, Configuring MySQL, Configuring MySQL @node Command-line options, Option files, Configuring MySQL, Configuring MySQL
...@@ -14575,7 +14571,7 @@ Print out warnings like @code{Aborted connection...} to the @code{.err} file. ...@@ -14575,7 +14571,7 @@ Print out warnings like @code{Aborted connection...} to the @code{.err} file.
@end table @end table
@node Option files, , Command-line options, Configuring MySQL @node Option files, Installing many servers, Command-line options, Configuring MySQL
@subsection my.cnf Option Files @subsection my.cnf Option Files
@cindex default options @cindex default options
...@@ -14747,8 +14743,8 @@ shell> my_print_defaults client mysql ...@@ -14747,8 +14743,8 @@ shell> my_print_defaults client mysql
The above output contains all options for the groups 'client' and 'mysql'. The above output contains all options for the groups 'client' and 'mysql'.
@node Installing many servers, Privilege system, Configuring MySQL, MySQL Database Administration @node Installing many servers, Multiple servers, Option files, Configuring MySQL
@appendixsec Installing Many Servers on the Same Machine @subsection Installing Many Servers on the Same Machine
@cindex post-install, many servers @cindex post-install, many servers
@cindex Installing many servers @cindex Installing many servers
...@@ -14826,7 +14822,7 @@ argument to @code{safe_mysqld}. ...@@ -14826,7 +14822,7 @@ argument to @code{safe_mysqld}.
* Multiple servers:: * Multiple servers::
@end menu @end menu
@node Multiple servers, , Installing many servers, Installing many servers @node Multiple servers, , Installing many servers, Configuring MySQL
@subsection Running Multiple MySQL Servers on the Same Machine @subsection Running Multiple MySQL Servers on the Same Machine
@cindex multiple servers @cindex multiple servers
...@@ -14954,7 +14950,7 @@ home directory. @xref{Option files}. ...@@ -14954,7 +14950,7 @@ home directory. @xref{Option files}.
@end itemize @end itemize
@node Privilege system, User Account Management, Installing many servers, MySQL Database Administration @node Privilege system, User Account Management, Configuring MySQL, MySQL Database Administration
@section General Security Issues and the MySQL Access Privilege System @section General Security Issues and the MySQL Access Privilege System
@cindex system, security @cindex system, security
...@@ -18798,7 +18794,7 @@ If a table has been compressed with @code{myisampack}, @code{myisamchk ...@@ -18798,7 +18794,7 @@ If a table has been compressed with @code{myisampack}, @code{myisamchk
information and a description of what it means. information and a description of what it means.
@node Database Administration, KILL, Disaster Prevention, MySQL Database Administration @node Database Administration, Localization, Disaster Prevention, MySQL Database Administration
@section Database Administration Language Reference @section Database Administration Language Reference
...@@ -18806,6 +18802,8 @@ information and a description of what it means. ...@@ -18806,6 +18802,8 @@ information and a description of what it means.
* OPTIMIZE TABLE:: * OPTIMIZE TABLE::
* ANALYZE TABLE:: * ANALYZE TABLE::
* FLUSH:: * FLUSH::
* KILL::
* SHOW::
@end menu @end menu
@node OPTIMIZE TABLE, ANALYZE TABLE, Database Administration, Database Administration @node OPTIMIZE TABLE, ANALYZE TABLE, Database Administration, Database Administration
...@@ -18890,7 +18888,7 @@ If the table hasn't changed since the last @code{ANALYZE TABLE} command, ...@@ -18890,7 +18888,7 @@ If the table hasn't changed since the last @code{ANALYZE TABLE} command,
the table will not be analyzed again. the table will not be analyzed again.
@node FLUSH, , ANALYZE TABLE, Database Administration @node FLUSH, KILL, ANALYZE TABLE, Database Administration
@subsection @code{FLUSH} Syntax @subsection @code{FLUSH} Syntax
@findex FLUSH @findex FLUSH
...@@ -18949,8 +18947,8 @@ replication. @xref{Replication SQL}. ...@@ -18949,8 +18947,8 @@ replication. @xref{Replication SQL}.
@node KILL, Localization, Database Administration, MySQL Database Administration @node KILL, SHOW, FLUSH, Database Administration
@section @code{KILL} Syntax @subsection @code{KILL} Syntax
@findex KILL @findex KILL
...@@ -19008,7 +19006,7 @@ write is aborted with an disk full error message. ...@@ -19008,7 +19006,7 @@ write is aborted with an disk full error message.
* SHOW:: * SHOW::
@end menu @end menu
@node SHOW, , KILL, KILL @node SHOW, , KILL, Database Administration
@subsection @code{SHOW} Syntax @subsection @code{SHOW} Syntax
@c FIX more index hits needed @c FIX more index hits needed
...@@ -19959,7 +19957,7 @@ Create Table: CREATE TABLE t ( ...@@ -19959,7 +19957,7 @@ Create Table: CREATE TABLE t (
@ref{SET OPTION, , @code{SET OPTION SQL_QUOTE_SHOW_CREATE}}. @ref{SET OPTION, , @code{SET OPTION SQL_QUOTE_SHOW_CREATE}}.
@node Localization, Server-Side Scripts, KILL, MySQL Database Administration @node Localization, Server-Side Scripts, Database Administration, MySQL Database Administration
@section MySQL Localization and International Usage @section MySQL Localization and International Usage
@menu @menu
...@@ -21217,7 +21215,7 @@ binaries includes: ...@@ -21217,7 +21215,7 @@ binaries includes:
@end multitable @end multitable
@node Client-Side Scripts, perror, Server-Side Scripts, MySQL Database Administration @node Client-Side Scripts, Log Files, Server-Side Scripts, MySQL Database Administration
@section MySQL Client-Side Scripts and Utilities @section MySQL Client-Side Scripts and Utilities
@menu @menu
...@@ -21228,6 +21226,8 @@ binaries includes: ...@@ -21228,6 +21226,8 @@ binaries includes:
* mysqlhotcopy:: * mysqlhotcopy::
* mysqlimport:: * mysqlimport::
* mysqlshow:: * mysqlshow::
* perror::
* Batch Commands::
@end menu @end menu
...@@ -22205,7 +22205,7 @@ $ mysql -e 'SELECT * FROM imptest' test ...@@ -22205,7 +22205,7 @@ $ mysql -e 'SELECT * FROM imptest' test
@end example @end example
@node mysqlshow, , mysqlimport, Client-Side Scripts @node mysqlshow, perror, mysqlimport, Client-Side Scripts
@subsection Showing Databases, Tables, and Columns @subsection Showing Databases, Tables, and Columns
@cindex databases, displaying @cindex databases, displaying
...@@ -22248,8 +22248,8 @@ adding an extra @code{%} last on the command line (as a separate ...@@ -22248,8 +22248,8 @@ adding an extra @code{%} last on the command line (as a separate
argument). argument).
@node perror, Batch Commands, Client-Side Scripts, MySQL Database Administration @node perror, Batch Commands, mysqlshow, Client-Side Scripts
@section perror, Explaining Error Codes @subsection perror, Explaining Error Codes
@cindex error messages, displaying @cindex error messages, displaying
@cindex perror @cindex perror
...@@ -22272,8 +22272,8 @@ code, or an MyISAM/ISAM table handler error code. The error messages ...@@ -22272,8 +22272,8 @@ code, or an MyISAM/ISAM table handler error code. The error messages
are mostly system dependent. are mostly system dependent.
@node Batch Commands, Log Files, perror, MySQL Database Administration @node Batch Commands, , perror, Client-Side Scripts
@section How to Run SQL Commands from a Text File @subsection How to Run SQL Commands from a Text File
@c FIX add the 'source' command @c FIX add the 'source' command
...@@ -22303,7 +22303,7 @@ shell> mysql < text_file ...@@ -22303,7 +22303,7 @@ shell> mysql < text_file
@xref{Client-Side Scripts}. @xref{Client-Side Scripts}.
@node Log Files, Log file maintenance, Batch Commands, MySQL Database Administration @node Log Files, Replication, Client-Side Scripts, MySQL Database Administration
@section The MySQL Log Files @section The MySQL Log Files
@cindex Log files @cindex Log files
...@@ -22330,6 +22330,7 @@ switch to a new log) by executing @code{FLUSH LOGS}. @xref{FLUSH}. ...@@ -22330,6 +22330,7 @@ switch to a new log) by executing @code{FLUSH LOGS}. @xref{FLUSH}.
* Update log:: * Update log::
* Binary log:: * Binary log::
* Slow query log:: * Slow query log::
* Log file maintenance::
@end menu @end menu
...@@ -22528,7 +22529,7 @@ This is to ensure that you can recreate an exact copy of your tables by ...@@ -22528,7 +22529,7 @@ This is to ensure that you can recreate an exact copy of your tables by
applying the log on a backup. applying the log on a backup.
@node Slow query log, , Binary log, Log Files @node Slow query log, Log file maintenance, Binary log, Log Files
@subsection The Slow Query Log @subsection The Slow Query Log
@cindex slow query log @cindex slow query log
...@@ -22557,8 +22558,8 @@ You are using @code{--log-long-format} then also queries that are not ...@@ -22557,8 +22558,8 @@ You are using @code{--log-long-format} then also queries that are not
using indexes are printed. @xref{Command-line options}. using indexes are printed. @xref{Command-line options}.
@node Log file maintenance, Replication, Log Files, MySQL Database Administration @node Log file maintenance, , Slow query log, Log Files
@section Log File Maintenance @subsection Log File Maintenance
@cindex files, log @cindex files, log
@cindex maintaining, log files @cindex maintaining, log files
...@@ -22611,7 +22612,7 @@ shell> mysqladmin flush-logs ...@@ -22611,7 +22612,7 @@ shell> mysqladmin flush-logs
and then take a backup and remove @file{mysql.old}. and then take a backup and remove @file{mysql.old}.
@node Replication, Replication HOWTO, Log file maintenance, MySQL Database Administration @node Replication, , Log Files, MySQL Database Administration
@section Replication in MySQL @section Replication in MySQL
@cindex replication @cindex replication
...@@ -22622,6 +22623,12 @@ and then take a backup and remove @file{mysql.old}. ...@@ -22622,6 +22623,12 @@ and then take a backup and remove @file{mysql.old}.
@menu @menu
* Replication Intro:: * Replication Intro::
* Replication Implementation:: * Replication Implementation::
* Replication HOWTO::
* Replication Features::
* Replication Options::
* Replication SQL::
* Replication FAQ::
* Replication Problems::
@end menu @end menu
This chapter describes the various replication features in @strong{MySQL}. This chapter describes the various replication features in @strong{MySQL}.
...@@ -22662,7 +22669,7 @@ the system by doing a backup on a slave instead of doing it on the ...@@ -22662,7 +22669,7 @@ the system by doing a backup on a slave instead of doing it on the
master. @xref{Backup}. master. @xref{Backup}.
@node Replication Implementation, , Replication Intro, Replication @node Replication Implementation, Replication HOWTO, Replication Intro, Replication
@subsection Replication Implementation Overview @subsection Replication Implementation Overview
@cindex master-slave setup @cindex master-slave setup
...@@ -22700,8 +22707,8 @@ any given time. ...@@ -22700,8 +22707,8 @@ any given time.
The next section explains the master/slave setup process in more detail. The next section explains the master/slave setup process in more detail.
@node Replication HOWTO, , Replication, MySQL Database Administration @node Replication HOWTO, Replication Features, Replication Implementation, Replication
@section How To Set Up Replication @subsection How To Set Up Replication
Below is a quick description of how to set up complete replication on Below is a quick description of how to set up complete replication on
your current @strong{MySQL} server. It assumes you want to replicate all your current @strong{MySQL} server. It assumes you want to replicate all
...@@ -22835,7 +22842,7 @@ it is preferred that you use @code{CHANGE MASTER TO} command. ...@@ -22835,7 +22842,7 @@ it is preferred that you use @code{CHANGE MASTER TO} command.
* Replication Problems:: * Replication Problems::
@end menu @end menu
@node Replication Features, Replication Options, Replication HOWTO, Replication HOWTO @node Replication Features, Replication Options, Replication HOWTO, Replication
@subsection Replication Features and Known Problems @subsection Replication Features and Known Problems
@cindex options, replication @cindex options, replication
...@@ -22976,7 +22983,7 @@ to get rid of old logs while the slave is running. ...@@ -22976,7 +22983,7 @@ to get rid of old logs while the slave is running.
@end itemize @end itemize
@node Replication Options, Replication SQL, Replication Features, Replication HOWTO @node Replication Options, Replication SQL, Replication Features, Replication
@subsection Replication Options in my.cnf @subsection Replication Options in my.cnf
If you are using replication, we recommend you to use @strong{MySQL} Version If you are using replication, we recommend you to use @strong{MySQL} Version
...@@ -23132,7 +23139,7 @@ the read. ...@@ -23132,7 +23139,7 @@ the read.
@end multitable @end multitable
@node Replication SQL, Replication FAQ, Replication Options, Replication HOWTO @node Replication SQL, Replication FAQ, Replication Options, Replication
@subsection SQL Commands Related to Replication @subsection SQL Commands Related to Replication
@cindex SQL commands, replication @cindex SQL commands, replication
...@@ -23239,7 +23246,7 @@ last log on the list), backup all the logs you are about to delete ...@@ -23239,7 +23246,7 @@ last log on the list), backup all the logs you are about to delete
@end multitable @end multitable
@node Replication FAQ, Replication Problems, Replication SQL, Replication HOWTO @node Replication FAQ, Replication Problems, Replication SQL, Replication
@subsection Replication FAQ @subsection Replication FAQ
@cindex @code{Binlog_Dump} @cindex @code{Binlog_Dump}
...@@ -23493,7 +23500,7 @@ system into @strong{MySQL}, but until it is ready, you will have to ...@@ -23493,7 +23500,7 @@ system into @strong{MySQL}, but until it is ready, you will have to
create your own monitoring tools. create your own monitoring tools.
@node Replication Problems, , Replication FAQ, Replication HOWTO @node Replication Problems, , Replication FAQ, Replication
@subsection Troubleshooting Replication @subsection Troubleshooting Replication
If you have followed the instructions, and your replication setup is not If you have followed the instructions, and your replication setup is not
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment