Commit bfe7399a authored by unknown's avatar unknown

Merge free documentation from MySQL 5.1.38 source release tarball.

parents 21173d5c f9707665
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
MySQL tar file binary distributions have names of the form MySQL tar file binary distributions have names of the form
mysql-VERSION-OS.tar.gz, where VERSION is a number (for example, mysql-VERSION-OS.tar.gz, where VERSION is a number (for example,
5.1.35), and OS indicates the type of operating system for which 5.1.39), and OS indicates the type of operating system for which
the distribution is intended (for example, pc-linux-i686). the distribution is intended (for example, pc-linux-i686).
In addition to these generic packages, we also offer binaries in In addition to these generic packages, we also offer binaries in
...@@ -156,10 +156,10 @@ shell> chown -R mysql data ...@@ -156,10 +156,10 @@ shell> chown -R mysql data
Permissions in Grant Tables." For Perl module installation Permissions in Grant Tables." For Perl module installation
instructions, see Section 2.15, "Perl Installation Notes." instructions, see Section 2.15, "Perl Installation Notes."
11. If you would like to use mysqlaccess and have the MySQL 11. If you would like to use mysqlaccess and have the MySQL
distribution in some non-standard location, you must change distribution in some nonstandard location, you must change the
the location where mysqlaccess expects to find the mysql location where mysqlaccess expects to find the mysql client.
client. Edit the bin/mysqlaccess script at approximately line Edit the bin/mysqlaccess script at approximately line 18.
18. Search for a line that looks like this: Search for a line that looks like this:
$MYSQL = '/usr/local/bin/mysql'; # path to mysql executable $MYSQL = '/usr/local/bin/mysql'; # path to mysql executable
Change the path to reflect the location where mysql actually Change the path to reflect the location where mysql actually
is stored on your system. If you do not do this, a Broken pipe is stored on your system. If you do not do this, a Broken pipe
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -191,7 +191,7 @@ C:\workdir>win\configure.js WITH_INNOBASE_STORAGE_ENGINE ...@@ -191,7 +191,7 @@ C:\workdir>win\configure.js WITH_INNOBASE_STORAGE_ENGINE
directory, you need to tell the server their path names. You directory, you need to tell the server their path names. You
can either do this on the command line with the --basedir and can either do this on the command line with the --basedir and
--datadir options, or by placing appropriate options in an --datadir options, or by placing appropriate options in an
option file. (See Section 4.2.3.2, "Using Option Files.") If option file. (See Section 4.2.3.3, "Using Option Files.") If
you have an existing data directory elsewhere that you want to you have an existing data directory elsewhere that you want to
use, you can specify its path name instead. use, you can specify its path name instead.
When the server is running in standalone fashion or as a When the server is running in standalone fashion or as a
...@@ -207,7 +207,7 @@ C:\workdir>win\configure.js WITH_INNOBASE_STORAGE_ENGINE ...@@ -207,7 +207,7 @@ C:\workdir>win\configure.js WITH_INNOBASE_STORAGE_ENGINE
option), and invoke mysql-test-run.pl. For example (using option), and invoke mysql-test-run.pl. For example (using
Cygwin and the bash shell): Cygwin and the bash shell):
shell> cd mysql-test shell> cd mysql-test
shell> export MTS_VS_CONFIG=debug shell> export MTR_VS_CONFIG=debug
shell> ./mysql-test-run.pl --force --timer shell> ./mysql-test-run.pl --force --timer
shell> ./mysql-test-run.pl --force --timer --ps-protocol shell> ./mysql-test-run.pl --force --timer --ps-protocol
......
'\" t
.\" Title: \fBcomp_err\fR .\" Title: \fBcomp_err\fR
.\" Author: .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.70.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
.\" Date: 03/31/2009 .\" Date: 08/12/2009
.\" Manual: MySQL Database System .\" Manual: MySQL Database System
.\" Source: MySQL 5.1 .\" Source: MySQL 5.1
.\" Language: English
.\" .\"
.TH "\fBCOMP_ERR\fR" "1" "03/31/2009" "MySQL 5.1" "MySQL Database System" .TH "\FBCOMP_ERR\FR" "1" "08/12/2009" "MySQL 5\&.1" "MySQL Database System"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation .\" disable hyphenation
.nh .nh
.\" disable justification (adjust text to left margin only) .\" disable justification (adjust text to left margin only)
.ad l .ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.\" comp_err
.SH "NAME" .SH "NAME"
comp_err \- compile MySQL error message file comp_err \- compile MySQL error message file
.SH "SYNOPSIS" .SH "SYNOPSIS"
.HP 19 .HP \w'\fBcomp_err\ [\fR\fB\fIoptions\fR\fR\fB]\fR\ 'u
\fBcomp_err [\fR\fB\fIoptions\fR\fR\fB]\fR \fBcomp_err [\fR\fB\fIoptions\fR\fR\fB]\fR
.SH "DESCRIPTION" .SH "DESCRIPTION"
.PP .PP
\fBcomp_err\fR \fBcomp_err\fR
creates the creates the
\fIerrmsg.sys\fR errmsg\&.sys
file that is used by file that is used by
\fBmysqld\fR \fBmysqld\fR
to determine the error messages to display for different error codes. to determine the error messages to display for different error codes\&.
\fBcomp_err\fR \fBcomp_err\fR
normally is run automatically when MySQL is built. It compiles the normally is run automatically when MySQL is built\&. It compiles the
\fIerrmsg.sys\fR errmsg\&.sys
file from the plaintext file located at file from the plaintext file located at
\fIsql/share/errmsg.txt\fR sql/share/errmsg\&.txt
in MySQL source distributions. in MySQL source distributions\&.
.PP .PP
\fBcomp_err\fR \fBcomp_err\fR
also generates also generates
\fImysqld_error.h\fR, mysqld_error\&.h,
\fImysqld_ername.h\fR, and mysqld_ername\&.h, and
\fIsql_state.h\fR sql_state\&.h
header files. header files\&.
.PP .PP
For more information about how error messages are defined, see the MySQL Internals Manual. For more information about how error messages are defined, see the MySQL Internals Manual\&.
.PP .PP
Invoke Invoke
\fBcomp_err\fR \fBcomp_err\fR
like this: like this:
.sp .sp
.RS 3n .if n \{\
.RS 4
.\}
.nf .nf
shell> \fBcomp_err [\fR\fB\fIoptions\fR\fR\fB]\fR shell> \fBcomp_err [\fR\fB\fIoptions\fR\fR\fB]\fR
.fi .fi
.if n \{\
.RE .RE
.\}
.PP .PP
\fBcomp_err\fR \fBcomp_err\fR
understands the options described in the following list. supports the options described in the following list\&.
.TP 3n .sp
\(bu .RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" comp_err: help option
.\" help option: comp_err
\fB\-\-help\fR, \fB\-\-help\fR,
\fB\-?\fR \fB\-?\fR
.sp .sp
Display a help message and exit. Display a help message and exit\&.
.TP 3n .RE
\(bu .sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" comp_err: charset option
.\" charset option: comp_err
\fB\-\-charset=\fR\fB\fIpath\fR\fR\fB, \-C \fR\fB\fIpath\fR\fR \fB\-\-charset=\fR\fB\fIpath\fR\fR\fB, \-C \fR\fB\fIpath\fR\fR
.sp .sp
The character set directory. The default is The character set directory\&. The default is
\fI../sql/share/charsets\fR. \&.\&./sql/share/charsets\&.
.TP 3n .RE
\(bu .sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" comp_err: debug option
.\" debug option: comp_err
\fB\-\-debug=\fR\fB\fIdebug_options\fR\fR\fB, \-# \fR\fB\fIdebug_options\fR\fR \fB\-\-debug=\fR\fB\fIdebug_options\fR\fR\fB, \-# \fR\fB\fIdebug_options\fR\fR
.sp .sp
Write a debugging log. The Write a debugging log\&. A typical
\fIdebug_options\fR \fIdebug_options\fR
string often is string is
\'d:t:O,\fIfile_name\fR'. The default is \'d:t:O,\fIfile_name\fR\'\&. The default is
\'d:t:O,/tmp/comp_err.trace'. \'d:t:O,/tmp/comp_err\&.trace\'\&.
.TP 3n .RE
\(bu .sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" comp_err: debug-info option
.\" debug-info option: comp_err
\fB\-\-debug\-info\fR, \fB\-\-debug\-info\fR,
\fB\-T\fR \fB\-T\fR
.sp .sp
Print some debugging information when the program exits. Print some debugging information when the program exits\&.
.TP 3n .RE
\(bu .sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" comp_err: header_file option
.\" header_file option: comp_err
\fB\-\-header_file=\fR\fB\fIfile_name\fR\fR\fB, \-H \fR\fB\fIfile_name\fR\fR \fB\-\-header_file=\fR\fB\fIfile_name\fR\fR\fB, \-H \fR\fB\fIfile_name\fR\fR
.sp .sp
The name of the error header file. The default is The name of the error header file\&. The default is
\fImysqld_error.h\fR. mysqld_error\&.h\&.
.TP 3n .RE
\(bu .sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" comp_err: in_file option
.\" in_file option: comp_err
\fB\-\-in_file=\fR\fB\fIfile_name\fR\fR\fB, \-F \fR\fB\fIfile_name\fR\fR \fB\-\-in_file=\fR\fB\fIfile_name\fR\fR\fB, \-F \fR\fB\fIfile_name\fR\fR
.sp .sp
The name of the input file. The default is The name of the input file\&. The default is
\fI../sql/share/errmsg.txt\fR. \&.\&./sql/share/errmsg\&.txt\&.
.TP 3n .RE
\(bu .sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" comp_err: name_file option
.\" name_file option: comp_err
\fB\-\-name_file=\fR\fB\fIfile_name\fR\fR\fB, \-N \fR\fB\fIfile_name\fR\fR \fB\-\-name_file=\fR\fB\fIfile_name\fR\fR\fB, \-N \fR\fB\fIfile_name\fR\fR
.sp .sp
The name of the error name file. The default is The name of the error name file\&. The default is
\fImysqld_ername.h\fR. mysqld_ername\&.h\&.
.TP 3n .RE
\(bu .sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" comp_err: out_dir option
.\" out_dir option: comp_err
\fB\-\-out_dir=\fR\fB\fIpath\fR\fR\fB, \-D \fR\fB\fIpath\fR\fR \fB\-\-out_dir=\fR\fB\fIpath\fR\fR\fB, \-D \fR\fB\fIpath\fR\fR
.sp .sp
The name of the output base directory. The default is The name of the output base directory\&. The default is
\fI../sql/share/\fR. \&.\&./sql/share/\&.
.TP 3n .RE
\(bu .sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" comp_err: out_file option
.\" out_file option: comp_err
\fB\-\-out_file=\fR\fB\fIfile_name\fR\fR\fB, \-O \fR\fB\fIfile_name\fR\fR \fB\-\-out_file=\fR\fB\fIfile_name\fR\fR\fB, \-O \fR\fB\fIfile_name\fR\fR
.sp .sp
The name of the output file. The default is The name of the output file\&. The default is
\fIerrmsg.sys\fR. errmsg\&.sys\&.
.TP 3n .RE
\(bu .sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" comp_err: statefile option
.\" statefile option: comp_err
\fB\-\-statefile=\fR\fB\fIfile_name\fR\fR\fB, \-S \fR\fB\fIfile_name\fR\fR \fB\-\-statefile=\fR\fB\fIfile_name\fR\fR\fB, \-S \fR\fB\fIfile_name\fR\fR
.sp .sp
The name for the SQLSTATE header file. The default is The name for the SQLSTATE header file\&. The default is
\fIsql_state.h\fR. sql_state\&.h\&.
.TP 3n .RE
\(bu .sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" comp_err: version option
.\" version option: comp_err
\fB\-\-version\fR, \fB\-\-version\fR,
\fB\-V\fR \fB\-V\fR
.sp .sp
Display version information and exit. Display version information and exit\&.
.RE
.SH "COPYRIGHT" .SH "COPYRIGHT"
.br
.PP .PP
Copyright 2007\-2008 MySQL AB, 2009 Sun Microsystems, Inc. Copyright 2007-2008 MySQL AB, 2009 Sun Microsystems, Inc.
.PP .PP
This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.
.PP .PP
This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
.PP .PP
You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110\-1301 USA or see http://www.gnu.org/licenses/. You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/.
.sp
.SH "SEE ALSO" .SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual, For more information, please refer to the MySQL Reference Manual,
which may already be installed locally and which is also available which may already be installed locally and which is also available
online at http://dev.mysql.com/doc/. online at http://dev.mysql.com/doc/.
.SH AUTHOR .SH AUTHOR
MySQL AB (http://www.mysql.com/). Sun Microsystems, Inc. (http://www.mysql.com/).
'\" t
.\" Title: \fBinnochecksum\fR .\" Title: \fBinnochecksum\fR
.\" Author: .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.70.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
.\" Date: 03/31/2009 .\" Date: 08/12/2009
.\" Manual: MySQL Database System .\" Manual: MySQL Database System
.\" Source: MySQL 5.1 .\" Source: MySQL 5.1
.\" Language: English
.\" .\"
.TH "\fBINNOCHECKSUM\fR" "1" "03/31/2009" "MySQL 5.1" "MySQL Database System" .TH "\FBINNOCHECKSUM\FR" "1" "08/12/2009" "MySQL 5\&.1" "MySQL Database System"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation .\" disable hyphenation
.nh .nh
.\" disable justification (adjust text to left margin only) .\" disable justification (adjust text to left margin only)
.ad l .ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.\" innochecksum
.SH "NAME" .SH "NAME"
innochecksum \- offline InnoDB file checksum utility innochecksum \- offline InnoDB file checksum utility
.SH "SYNOPSIS" .SH "SYNOPSIS"
.HP 33 .HP \w'\fBinnochecksum\ [\fR\fB\fIoptions\fR\fR\fB]\ \fR\fB\fIfile_name\fR\fR\ 'u
\fBinnochecksum [\fR\fB\fIoptions\fR\fR\fB] \fR\fB\fIfile_name\fR\fR \fBinnochecksum [\fR\fB\fIoptions\fR\fR\fB] \fR\fB\fIfile_name\fR\fR
.SH "DESCRIPTION" .SH "DESCRIPTION"
.PP .PP
\fBinnochecksum\fR \fBinnochecksum\fR
prints checksums for prints checksums for
InnoDB InnoDB
files. files\&.
.PP .PP
Invoke Invoke
\fBinnochecksum\fR \fBinnochecksum\fR
like this: like this:
.sp .sp
.RS 3n .if n \{\
.RS 4
.\}
.nf .nf
shell> \fBinnochecksum [\fR\fB\fIoptions\fR\fR\fB] \fR\fB\fIfile_name\fR\fR shell> \fBinnochecksum [\fR\fB\fIoptions\fR\fR\fB] \fR\fB\fIfile_name\fR\fR
.fi .fi
.if n \{\
.RE .RE
.\}
.PP .PP
\fBinnochecksum\fR \fBinnochecksum\fR
understands the options described in the following list. For options that refer to page numbers, the numbers are zero\-based. supports the options described in the following list\&. For options that refer to page numbers, the numbers are zero\-based\&.
.TP 3n .sp
\(bu .RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fB\-c\fR \fB\-c\fR
.sp .sp
Print a count of the number of pages in the file. Print a count of the number of pages in the file\&.
.TP 3n .RE
\(bu .sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fB\-d\fR \fB\-d\fR
.sp .sp
Debug mode; prints checksums for each page. Debug mode; prints checksums for each page\&.
.TP 3n .RE
\(bu .sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fB\-e \fR\fB\fInum\fR\fR \fB\-e \fR\fB\fInum\fR\fR
.sp .sp
End at this page number. End at this page number\&.
.TP 3n .RE
\(bu .sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fB\-p \fR\fB\fInum\fR\fR \fB\-p \fR\fB\fInum\fR\fR
.sp .sp
Check only this page number. Check only this page number\&.
.TP 3n .RE
\(bu .sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fB\-s \fR\fB\fInum\fR\fR \fB\-s \fR\fB\fInum\fR\fR
.sp .sp
Start at this page number. Start at this page number\&.
.TP 3n .RE
\(bu .sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fB\-v\fR \fB\-v\fR
.sp .sp
Verbose mode; print a progress indicator every five seconds. Verbose mode; print a progress indicator every five seconds\&.
.RE
.SH "COPYRIGHT" .SH "COPYRIGHT"
.br
.PP .PP
Copyright 2007\-2008 MySQL AB, 2009 Sun Microsystems, Inc. Copyright 2007-2008 MySQL AB, 2009 Sun Microsystems, Inc.
.PP .PP
This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.
.PP .PP
This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
.PP .PP
You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110\-1301 USA or see http://www.gnu.org/licenses/. You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/.
.sp
.SH "SEE ALSO" .SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual, For more information, please refer to the MySQL Reference Manual,
which may already be installed locally and which is also available which may already be installed locally and which is also available
online at http://dev.mysql.com/doc/. online at http://dev.mysql.com/doc/.
.SH AUTHOR .SH AUTHOR
MySQL AB (http://www.mysql.com/). Sun Microsystems, Inc. (http://www.mysql.com/).
'\" t
.\" Title: \fBmake_win_bin_dist\fR .\" Title: \fBmake_win_bin_dist\fR
.\" Author: .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.70.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
.\" Date: 03/31/2009 .\" Date: 08/12/2009
.\" Manual: MySQL Database System .\" Manual: MySQL Database System
.\" Source: MySQL 5.1 .\" Source: MySQL 5.1
.\" Language: English
.\" .\"
.TH "\fBMAKE_WIN_BIN_DIST" "1" "03/31/2009" "MySQL 5.1" "MySQL Database System" .TH "\FBMAKE_WIN_BIN_DIST" "1" "08/12/2009" "MySQL 5\&.1" "MySQL Database System"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation .\" disable hyphenation
.nh .nh
.\" disable justification (adjust text to left margin only) .\" disable justification (adjust text to left margin only)
.ad l .ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.\" make_win_bin_dist
.SH "NAME" .SH "NAME"
make_win_bin_dist \- package MySQL distribution as ZIP archive make_win_bin_dist \- package MySQL distribution as ZIP archive
.SH "SYNOPSIS" .SH "SYNOPSIS"
.HP 60 .HP \w'\fBmake_win_bin_dist\ [\fR\fB\fIoptions\fR\fR\fB]\ \fR\fB\fIpackage_basename\fR\fR\fB\ [\fR\fB\fIcopy_def\fR\fR\fB\ \&.\&.\&.]\fR\ 'u
\fBmake_win_bin_dist [\fR\fB\fIoptions\fR\fR\fB] \fR\fB\fIpackage_basename\fR\fR\fB [\fR\fB\fIcopy_def\fR\fR\fB ...]\fR \fBmake_win_bin_dist [\fR\fB\fIoptions\fR\fR\fB] \fR\fB\fIpackage_basename\fR\fR\fB [\fR\fB\fIcopy_def\fR\fR\fB \&.\&.\&.]\fR
.SH "DESCRIPTION" .SH "DESCRIPTION"
.PP .PP
This script is used on Windows after building a MySQL distribution from source to create executable programs. It packages the binaries and support files into a ZIP archive that can be unpacked at the location where you want to install MySQL. This script is used on Windows after building a MySQL distribution from source to create executable programs\&. It packages the binaries and support files into a ZIP archive that can be unpacked at the location where you want to install MySQL\&.
.PP .PP
\fBmake_win_bin_dist\fR \fBmake_win_bin_dist\fR
is a shell script, so you must have Cygwin installed to use it. is a shell script, so you must have Cygwin installed to use it\&.
.PP .PP
This program's use is subject to change. Currently, you invoke it as follows from the root directory of your source distribution: This program\'s use is subject to change\&. Currently, you invoke it as follows from the root directory of your source distribution:
.sp .sp
.RS 3n .if n \{\
.RS 4
.\}
.nf .nf
shell> \fBmake_win_bin_dist [\fR\fB\fIoptions\fR\fR\fB] \fR\fB\fIpackage_basename\fR\fR\fB [\fR\fB\fIcopy_def\fR\fR\fB ...]\fR shell> \fBmake_win_bin_dist [\fR\fB\fIoptions\fR\fR\fB] \fR\fB\fIpackage_basename\fR\fR\fB [\fR\fB\fIcopy_def\fR\fR\fB \&.\&.\&.]\fR
.fi .fi
.if n \{\
.RE .RE
.\}
.PP .PP
The The
\fIpackage_basename\fR \fIpackage_basename\fR
argument provides the basename for the resulting ZIP archive. This name will be the name of the directory that results from unpacking the archive. argument provides the basename for the resulting ZIP archive\&. This name will be the name of the directory that results from unpacking the archive\&.
.PP .PP
Because you might want to include files of directories from other builds, you can instruct this script do copy them in for you, via Because you might want to include files of directories from other builds, you can instruct this script do copy them in for you, via
\fIcopy_def\fR \fIcopy_def\fR
arguments, which of which is of the form arguments, which of which is of the form
\fIrelative_dest_name\fR=\fIsource_name\fR. \fIrelative_dest_name\fR=\fIsource_name\fR\&.
.PP .PP
Example: Example:
.sp .sp
.RS 3n .if n \{\
.RS 4
.\}
.nf .nf
bin/mysqld\-max.exe=../my\-max\-build/sql/release/mysqld.exe bin/mysqld\-max\&.exe=\&.\&./my\-max\-build/sql/release/mysqld\&.exe
.fi .fi
.if n \{\
.RE .RE
.\}
.PP .PP
If you specify a directory, the entire directory will be copied. If you specify a directory, the entire directory will be copied\&.
.PP .PP
\fBmake_win_bin_dist\fR \fBmake_win_bin_dist\fR
understands the following options: supports the following options:
.TP 3n .sp
\(bu .RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" make_win_bin_dist: debug option
.\" debug option: make_win_bin_dist
\fB\-\-debug\fR \fB\-\-debug\fR
.sp .sp
Pack the debug binaries and produce an error if they were not built. Pack the debug binaries and produce an error if they were not built\&.
.TP 3n .RE
\(bu .sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" make_win_bin_dist: embedded option
.\" embedded option: make_win_bin_dist
\fB\-\-embedded\fR \fB\-\-embedded\fR
.sp .sp
Pack the embedded server and produce an error if it was not built. The default is to pack it if it was built. Pack the embedded server and produce an error if it was not built\&. The default is to pack it if it was built\&.
.TP 3n .RE
\(bu .sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" make_win_bin_dist: exe-suffix option
.\" exe-suffix option: make_win_bin_dist
\fB\-\-exe\-suffix=\fR\fB\fIsuffix\fR\fR \fB\-\-exe\-suffix=\fR\fB\fIsuffix\fR\fR
.sp .sp
Add a suffix to the basename of the Add a suffix to the basename of the
\fBmysql\fR \fBmysql\fR
binary. For example, a suffix of binary\&. For example, a suffix of
\-abc \-abc
produces a binary named produces a binary named
\fBmysqld\-abc.exe\fR. \fBmysqld\-abc\&.exe\fR\&.
.TP 3n .RE
\(bu .sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" make_win_bin_dist: no-debug option
.\" no-debug option: make_win_bin_dist
\fB\-\-no\-debug\fR \fB\-\-no\-debug\fR
.sp .sp
Don't pack the debug binaries even if they were built. Do not pack the debug binaries even if they were built\&.
.TP 3n .RE
\(bu .sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" make_win_bin_dist: no-embedded option
.\" no-embedded option: make_win_bin_dist
\fB\-\-no\-embedded\fR \fB\-\-no\-embedded\fR
.sp .sp
Don't pack the embedded server even if it was built. Do not pack the embedded server even if it was built\&.
.TP 3n .RE
\(bu .sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" make_win_bin_dist: only-debug option
.\" only-debug option: make_win_bin_dist
\fB\-\-only\-debug\fR \fB\-\-only\-debug\fR
.sp .sp
Use this option when the target for this build was Use this option when the target for this build was
Debug, and you just want to replace the normal binaries with debug versions (that is, do not use separate Debug, and you just want to replace the normal binaries with debug versions (that is, do not use separate
\fIdebug\fR debug
directories). directories)\&.
.RE
.SH "COPYRIGHT" .SH "COPYRIGHT"
.br
.PP .PP
Copyright 2007\-2008 MySQL AB, 2009 Sun Microsystems, Inc. Copyright 2007-2008 MySQL AB, 2009 Sun Microsystems, Inc.
.PP .PP
This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.
.PP .PP
This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
.PP .PP
You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110\-1301 USA or see http://www.gnu.org/licenses/. You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/.
.sp
.SH "SEE ALSO" .SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual, For more information, please refer to the MySQL Reference Manual,
which may already be installed locally and which is also available which may already be installed locally and which is also available
online at http://dev.mysql.com/doc/. online at http://dev.mysql.com/doc/.
.SH AUTHOR .SH AUTHOR
MySQL AB (http://www.mysql.com/). Sun Microsystems, Inc. (http://www.mysql.com/).
'\" t
.\" Title: \fBmsql2mysql\fR .\" Title: \fBmsql2mysql\fR
.\" Author: .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.70.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
.\" Date: 03/31/2009 .\" Date: 08/12/2009
.\" Manual: MySQL Database System .\" Manual: MySQL Database System
.\" Source: MySQL 5.1 .\" Source: MySQL 5.1
.\" Language: English
.\" .\"
.TH "\fBMSQL2MYSQL\fR" "1" "03/31/2009" "MySQL 5.1" "MySQL Database System" .TH "\FBMSQL2MYSQL\FR" "1" "08/12/2009" "MySQL 5\&.1" "MySQL Database System"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation .\" disable hyphenation
.nh .nh
.\" disable justification (adjust text to left margin only) .\" disable justification (adjust text to left margin only)
.ad l .ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.\" msql2mysql
.SH "NAME" .SH "NAME"
msql2mysql \- convert mSQL programs for use with MySQL msql2mysql \- convert mSQL programs for use with MySQL
.SH "SYNOPSIS" .SH "SYNOPSIS"
.HP 28 .HP \w'\fBmsql2mysql\fR\fB\fIC\-source\-file\fR\fR\fB\ \&.\&.\&.\fR\ 'u
\fBmsql2mysql\fR\fB\fIC\-source\-file\fR\fR\fB ...\fR \fBmsql2mysql\fR\fB\fIC\-source\-file\fR\fR\fB \&.\&.\&.\fR
.SH "DESCRIPTION" .SH "DESCRIPTION"
.PP .PP
Initially, the MySQL C API was developed to be very similar to that for the mSQL database system. Because of this, mSQL programs often can be converted relatively easily for use with MySQL by changing the names of the C API functions. Initially, the MySQL C API was developed to be very similar to that for the mSQL database system\&. Because of this, mSQL programs often can be converted relatively easily for use with MySQL by changing the names of the C API functions\&.
.PP .PP
The The
\fBmsql2mysql\fR \fBmsql2mysql\fR
utility performs the conversion of mSQL C API function calls to their MySQL equivalents. utility performs the conversion of mSQL C API function calls to their MySQL equivalents\&.
\fBmsql2mysql\fR \fBmsql2mysql\fR
converts the input file in place, so make a copy of the original before converting it. For example, use converts the input file in place, so make a copy of the original before converting it\&. For example, use
\fBmsql2mysql\fR \fBmsql2mysql\fR
like this: like this:
.sp .sp
.RS 3n .if n \{\
.RS 4
.\}
.nf .nf
shell> \fBcp client\-prog.c client\-prog.c.orig\fR shell> \fBcp client\-prog\&.c client\-prog\&.c\&.orig\fR
shell> \fBmsql2mysql client\-prog.c\fR shell> \fBmsql2mysql client\-prog\&.c\fR
client\-prog.c converted client\-prog\&.c converted
.fi .fi
.if n \{\
.RE .RE
.\}
.PP .PP
Then examine Then examine
\fIclient\-prog.c\fR client\-prog\&.c
and make any post\-conversion revisions that may be necessary. and make any post\-conversion revisions that may be necessary\&.
.PP .PP
\fBmsql2mysql\fR \fBmsql2mysql\fR
uses the uses the
\fBreplace\fR \fBreplace\fR
utility to make the function name substitutions. See utility to make the function name substitutions\&. See
\fBreplace\fR(1). \fBreplace\fR(1)\&.
.SH "COPYRIGHT" .SH "COPYRIGHT"
.br
.PP .PP
Copyright 2007\-2008 MySQL AB, 2009 Sun Microsystems, Inc. Copyright 2007-2008 MySQL AB, 2009 Sun Microsystems, Inc.
.PP .PP
This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.
.PP .PP
This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
.PP .PP
You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110\-1301 USA or see http://www.gnu.org/licenses/. You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/.
.sp
.SH "SEE ALSO" .SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual, For more information, please refer to the MySQL Reference Manual,
which may already be installed locally and which is also available which may already be installed locally and which is also available
online at http://dev.mysql.com/doc/. online at http://dev.mysql.com/doc/.
.SH AUTHOR .SH AUTHOR
MySQL AB (http://www.mysql.com/). Sun Microsystems, Inc. (http://www.mysql.com/).
'\" t
.\" Title: \fBmy_print_defaults\fR .\" Title: \fBmy_print_defaults\fR
.\" Author: .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.70.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
.\" Date: 03/31/2009 .\" Date: 08/12/2009
.\" Manual: MySQL Database System .\" Manual: MySQL Database System
.\" Source: MySQL 5.1 .\" Source: MySQL 5.1
.\" Language: English
.\" .\"
.TH "\fBMY_PRINT_DEFAULTS" "1" "03/31/2009" "MySQL 5.1" "MySQL Database System" .TH "\FBMY_PRINT_DEFAULTS" "1" "08/12/2009" "MySQL 5\&.1" "MySQL Database System"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation .\" disable hyphenation
.nh .nh
.\" disable justification (adjust text to left margin only) .\" disable justification (adjust text to left margin only)
.ad l .ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.\" my_print_defaults
.SH "NAME" .SH "NAME"
my_print_defaults \- display options from option files my_print_defaults \- display options from option files
.SH "SYNOPSIS" .SH "SYNOPSIS"
.HP 45 .HP \w'\fBmy_print_defaults\ [\fR\fB\fIoptions\fR\fR\fB]\ \fR\fB\fIoption_group\fR\fR\fB\ \&.\&.\&.\fR\ 'u
\fBmy_print_defaults [\fR\fB\fIoptions\fR\fR\fB] \fR\fB\fIoption_group\fR\fR\fB ...\fR \fBmy_print_defaults [\fR\fB\fIoptions\fR\fR\fB] \fR\fB\fIoption_group\fR\fR\fB \&.\&.\&.\fR
.SH "DESCRIPTION" .SH "DESCRIPTION"
.PP .PP
\fBmy_print_defaults\fR \fBmy_print_defaults\fR
displays the options that are present in option groups of option files. The output indicates what options will be used by programs that read the specified option groups. For example, the displays the options that are present in option groups of option files\&. The output indicates what options will be used by programs that read the specified option groups\&. For example, the
\fBmysqlcheck\fR \fBmysqlcheck\fR
program reads the program reads the
[mysqlcheck] [mysqlcheck]
and and
[client] [client]
option groups. To see what options are present in those groups in the standard option files, invoke option groups\&. To see what options are present in those groups in the standard option files, invoke
\fBmy_print_defaults\fR \fBmy_print_defaults\fR
like this: like this:
.sp .sp
.RS 3n .if n \{\
.RS 4
.\}
.nf .nf
shell> \fBmy_print_defaults mysqlcheck client\fR shell> \fBmy_print_defaults mysqlcheck client\fR
\-\-user=myusername \-\-user=myusername
\-\-password=secret \-\-password=secret
\-\-host=localhost \-\-host=localhost
.fi .fi
.if n \{\
.RE .RE
.\}
.PP .PP
The output consists of options, one per line, in the form that they would be specified on the command line. The output consists of options, one per line, in the form that they would be specified on the command line\&.
.PP .PP
\fBmy_print_defaults\fR \fBmy_print_defaults\fR
understands the following options: supports the following options:
.TP 3n .sp
\(bu .RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" my_print_defaults: help option
.\" help option: my_print_defaults
\fB\-\-help\fR, \fB\-\-help\fR,
\fB\-?\fR \fB\-?\fR
.sp .sp
Display a help message and exit. Display a help message and exit\&.
.TP 3n .RE
\(bu .sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" my_print_defaults: config-file option
.\" config-file option: my_print_defaults
\fB\-\-config\-file=\fR\fB\fIfile_name\fR\fR, \fB\-\-config\-file=\fR\fB\fIfile_name\fR\fR,
.\" my_print_defaults: defaults-file option
.\" defaults-file option: my_print_defaults
\fB\-\-defaults\-file=\fR\fB\fIfile_name\fR\fR, \fB\-\-defaults\-file=\fR\fB\fIfile_name\fR\fR,
\fB\-c \fR\fB\fIfile_name\fR\fR \fB\-c \fR\fB\fIfile_name\fR\fR
.sp .sp
Read only the given option file. Read only the given option file\&.
.TP 3n .RE
\(bu .sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" my_print_defaults: debug option
.\" debug option: my_print_defaults
\fB\-\-debug=\fR\fB\fIdebug_options\fR\fR\fB, \-# \fR\fB\fIdebug_options\fR\fR \fB\-\-debug=\fR\fB\fIdebug_options\fR\fR\fB, \-# \fR\fB\fIdebug_options\fR\fR
.sp .sp
Write a debugging log. The Write a debugging log\&. A typical
\fIdebug_options\fR \fIdebug_options\fR
string often is string is
\'d:t:o,\fIfile_name\fR'. The default is \'d:t:o,\fIfile_name\fR\'\&. The default is
\'d:t:o,/tmp/my_print_defaults.trace'. \'d:t:o,/tmp/my_print_defaults\&.trace\'\&.
.TP 3n .RE
\(bu .sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" my_print_defaults: defaults-extra-file option
.\" defaults-extra-file option: my_print_defaults
\fB\-\-defaults\-extra\-file=\fR\fB\fIfile_name\fR\fR, \fB\-\-defaults\-extra\-file=\fR\fB\fIfile_name\fR\fR,
.\" my_print_defaults: extra-file option
.\" extra-file option: my_print_defaults
\fB\-\-extra\-file=\fR\fB\fIfile_name\fR\fR, \fB\-\-extra\-file=\fR\fB\fIfile_name\fR\fR,
\fB\-e \fR\fB\fIfile_name\fR\fR \fB\-e \fR\fB\fIfile_name\fR\fR
.sp .sp
Read this option file after the global option file but (on Unix) before the user option file. Read this option file after the global option file but (on Unix) before the user option file\&.
.TP 3n .RE
\(bu .sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" my_print_defaults: defaults-group-suffix option
.\" defaults-group-suffix option: my_print_defaults
\fB\-\-defaults\-group\-suffix=\fR\fB\fIsuffix\fR\fR, \fB\-\-defaults\-group\-suffix=\fR\fB\fIsuffix\fR\fR,
\fB\-g \fR\fB\fIsuffix\fR\fR \fB\-g \fR\fB\fIsuffix\fR\fR
.sp .sp
In addition to the groups named on the command line, read groups that have the given suffix. In addition to the groups named on the command line, read groups that have the given suffix\&.
.TP 3n .RE
\(bu .sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" my_print_defaults: no-defaults option
.\" no-defaults option: my_print_defaults
\fB\-\-no\-defaults\fR, \fB\-\-no\-defaults\fR,
\fB\-n\fR \fB\-n\fR
.sp .sp
Return an empty string. Return an empty string\&.
.TP 3n .RE
\(bu .sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" my_print_defaults: verbose option
.\" verbose option: my_print_defaults
\fB\-\-verbose\fR, \fB\-\-verbose\fR,
\fB\-v\fR \fB\-v\fR
.sp .sp
Verbose mode. Print more information about what the program does. Verbose mode\&. Print more information about what the program does\&.
.TP 3n .RE
\(bu .sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" my_print_defaults: version option
.\" version option: my_print_defaults
\fB\-\-version\fR, \fB\-\-version\fR,
\fB\-V\fR \fB\-V\fR
.sp .sp
Display version information and exit. Display version information and exit\&.
.RE
.SH "COPYRIGHT" .SH "COPYRIGHT"
.br
.PP .PP
Copyright 2007\-2008 MySQL AB, 2009 Sun Microsystems, Inc. Copyright 2007-2008 MySQL AB, 2009 Sun Microsystems, Inc.
.PP .PP
This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.
.PP .PP
This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
.PP .PP
You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110\-1301 USA or see http://www.gnu.org/licenses/. You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/.
.sp
.SH "SEE ALSO" .SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual, For more information, please refer to the MySQL Reference Manual,
which may already be installed locally and which is also available which may already be installed locally and which is also available
online at http://dev.mysql.com/doc/. online at http://dev.mysql.com/doc/.
.SH AUTHOR .SH AUTHOR
MySQL AB (http://www.mysql.com/). Sun Microsystems, Inc. (http://www.mysql.com/).
'\" t
.\" Title: \fBmyisam_ftdump\fR .\" Title: \fBmyisam_ftdump\fR
.\" Author: .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.70.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
.\" Date: 03/31/2009 .\" Date: 08/12/2009
.\" Manual: MySQL Database System .\" Manual: MySQL Database System
.\" Source: MySQL 5.1 .\" Source: MySQL 5.1
.\" Language: English
.\" .\"
.TH "\fBMYISAM_FTDUMP\fR" "1" "03/31/2009" "MySQL 5.1" "MySQL Database System" .TH "\FBMYISAM_FTDUMP\FR" "1" "08/12/2009" "MySQL 5\&.1" "MySQL Database System"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation .\" disable hyphenation
.nh .nh
.\" disable justification (adjust text to left margin only) .\" disable justification (adjust text to left margin only)
.ad l .ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.\" myisam_ftdump
.SH "NAME" .SH "NAME"
myisam_ftdump \- display full\-text index information myisam_ftdump \- display full\-text index information
.SH "SYNOPSIS" .SH "SYNOPSIS"
.HP 43 .HP \w'\fBmyisam_ftdump\ [\fR\fB\fIoptions\fR\fR\fB]\ \fR\fB\fItbl_name\fR\fR\fB\ \fR\fB\fIindex_num\fR\fR\ 'u
\fBmyisam_ftdump [\fR\fB\fIoptions\fR\fR\fB] \fR\fB\fItbl_name\fR\fR\fB \fR\fB\fIindex_num\fR\fR \fBmyisam_ftdump [\fR\fB\fIoptions\fR\fR\fB] \fR\fB\fItbl_name\fR\fR\fB \fR\fB\fIindex_num\fR\fR
.SH "DESCRIPTION" .SH "DESCRIPTION"
.PP .PP
...@@ -22,7 +31,7 @@ displays information about ...@@ -22,7 +31,7 @@ displays information about
FULLTEXT FULLTEXT
indexes in indexes in
MyISAM MyISAM
tables. It reads the tables\&. It reads the
MyISAM MyISAM
index file directly, so it must be run on the server host where the table is located index file directly, so it must be run on the server host where the table is located
.PP .PP
...@@ -30,21 +39,25 @@ Invoke ...@@ -30,21 +39,25 @@ Invoke
\fBmyisam_ftdump\fR \fBmyisam_ftdump\fR
like this: like this:
.sp .sp
.RS 3n .if n \{\
.RS 4
.\}
.nf .nf
shell> \fBmyisam_ftdump [\fR\fB\fIoptions\fR\fR\fB] \fR\fB\fItbl_name\fR\fR\fB \fR\fB\fIindex_num\fR\fR shell> \fBmyisam_ftdump [\fR\fB\fIoptions\fR\fR\fB] \fR\fB\fItbl_name\fR\fR\fB \fR\fB\fIindex_num\fR\fR
.fi .fi
.if n \{\
.RE .RE
.\}
.PP .PP
The The
\fItbl_name\fR \fItbl_name\fR
argument should be the name of a argument should be the name of a
MyISAM MyISAM
table. You can also specify a table by naming its index file (the file with the table\&. You can also specify a table by naming its index file (the file with the
\fI.MYI\fR \&.MYI
suffix). If you do not invoke suffix)\&. If you do not invoke
\fBmyisam_ftdump\fR \fBmyisam_ftdump\fR
in the directory where the table files are located, the table or index file name must be preceded by the path name to the table's database directory. Index numbers begin with 0. in the directory where the table files are located, the table or index file name must be preceded by the path name to the table\'s database directory\&. Index numbers begin with 0\&.
.PP .PP
Example: Suppose that the Example: Suppose that the
test test
...@@ -52,7 +65,9 @@ database contains a table named ...@@ -52,7 +65,9 @@ database contains a table named
mytexttablel mytexttablel
that has the following definition: that has the following definition:
.sp .sp
.RS 3n .if n \{\
.RS 4
.\}
.nf .nf
CREATE TABLE mytexttable CREATE TABLE mytexttable
( (
...@@ -62,7 +77,9 @@ CREATE TABLE mytexttable ...@@ -62,7 +77,9 @@ CREATE TABLE mytexttable
FULLTEXT (txt) FULLTEXT (txt)
); );
.fi .fi
.if n \{\
.RE .RE
.\}
.PP .PP
The index on The index on
id id
...@@ -70,82 +87,152 @@ is index 0 and the ...@@ -70,82 +87,152 @@ is index 0 and the
FULLTEXT FULLTEXT
index on index on
txt txt
is index 1. If your working directory is the is index 1\&. If your working directory is the
test test
database directory, invoke database directory, invoke
\fBmyisam_ftdump\fR \fBmyisam_ftdump\fR
as follows: as follows:
.sp .sp
.RS 3n .if n \{\
.RS 4
.\}
.nf .nf
shell> \fBmyisam_ftdump mytexttable 1\fR shell> \fBmyisam_ftdump mytexttable 1\fR
.fi .fi
.if n \{\
.RE .RE
.\}
.PP .PP
If the path name to the If the path name to the
test test
database directory is database directory is
\fI/usr/local/mysql/data/test\fR, you can also specify the table name argument using that path name. This is useful if you do not invoke /usr/local/mysql/data/test, you can also specify the table name argument using that path name\&. This is useful if you do not invoke
\fBmyisam_ftdump\fR \fBmyisam_ftdump\fR
in the database directory: in the database directory:
.sp .sp
.RS 3n .if n \{\
.RS 4
.\}
.nf .nf
shell> \fBmyisam_ftdump /usr/local/mysql/data/test/mytexttable 1\fR shell> \fBmyisam_ftdump /usr/local/mysql/data/test/mytexttable 1\fR
.fi .fi
.if n \{\
.RE .RE
.\}
.PP .PP
\fBmyisam_ftdump\fR \fBmyisam_ftdump\fR
understands the following options: supports the following options:
.TP 3n .sp
\(bu .RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" myisam_ftdump: help option
.\" help option: myisam_ftdump
\fB\-\-help\fR, \fB\-\-help\fR,
\fB\-h\fR \fB\-h\fR
\fB\-?\fR \fB\-?\fR
.sp .sp
Display a help message and exit. Display a help message and exit\&.
.TP 3n .RE
\(bu .sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" myisam_ftdump: count option
.\" count option: myisam_ftdump
\fB\-\-count\fR, \fB\-\-count\fR,
\fB\-c\fR \fB\-c\fR
.sp .sp
Calculate per\-word statistics (counts and global weights). Calculate per\-word statistics (counts and global weights)\&.
.TP 3n .RE
\(bu .sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" myisam_ftdump: dump option
.\" dump option: myisam_ftdump
\fB\-\-dump\fR, \fB\-\-dump\fR,
\fB\-d\fR \fB\-d\fR
.sp .sp
Dump the index, including data offsets and word weights. Dump the index, including data offsets and word weights\&.
.TP 3n .RE
\(bu .sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" myisam_ftdump: length option
.\" length option: myisam_ftdump
\fB\-\-length\fR, \fB\-\-length\fR,
\fB\-l\fR \fB\-l\fR
.sp .sp
Report the length distribution. Report the length distribution\&.
.TP 3n .RE
\(bu .sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" myisam_ftdump: stats option
.\" stats option: myisam_ftdump
\fB\-\-stats\fR, \fB\-\-stats\fR,
\fB\-s\fR \fB\-s\fR
.sp .sp
Report global index statistics. This is the default operation if no other operation is specified. Report global index statistics\&. This is the default operation if no other operation is specified\&.
.TP 3n .RE
\(bu .sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" myisam_ftdump: verbose option
.\" verbose option: myisam_ftdump
\fB\-\-verbose\fR, \fB\-\-verbose\fR,
\fB\-v\fR \fB\-v\fR
.sp .sp
Verbose mode. Print more output about what the program does. Verbose mode\&. Print more output about what the program does\&.
.RE
.SH "COPYRIGHT" .SH "COPYRIGHT"
.br
.PP .PP
Copyright 2007\-2008 MySQL AB, 2009 Sun Microsystems, Inc. Copyright 2007-2008 MySQL AB, 2009 Sun Microsystems, Inc.
.PP .PP
This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.
.PP .PP
This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
.PP .PP
You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110\-1301 USA or see http://www.gnu.org/licenses/. You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/.
.sp
.SH "SEE ALSO" .SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual, For more information, please refer to the MySQL Reference Manual,
which may already be installed locally and which is also available which may already be installed locally and which is also available
online at http://dev.mysql.com/doc/. online at http://dev.mysql.com/doc/.
.SH AUTHOR .SH AUTHOR
MySQL AB (http://www.mysql.com/). Sun Microsystems, Inc. (http://www.mysql.com/).
This diff is collapsed.
'\" t
.\" Title: \fBmyisamlog\fR .\" Title: \fBmyisamlog\fR
.\" Author: .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.70.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
.\" Date: 03/31/2009 .\" Date: 08/12/2009
.\" Manual: MySQL Database System .\" Manual: MySQL Database System
.\" Source: MySQL 5.1 .\" Source: MySQL 5.1
.\" Language: English
.\" .\"
.TH "\fBMYISAMLOG\fR" "1" "03/31/2009" "MySQL 5.1" "MySQL Database System" .TH "\FBMYISAMLOG\FR" "1" "08/12/2009" "MySQL 5\&.1" "MySQL Database System"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation .\" disable hyphenation
.nh .nh
.\" disable justification (adjust text to left margin only) .\" disable justification (adjust text to left margin only)
.ad l .ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.\" myisamlog
.\" isamlog
.SH "NAME" .SH "NAME"
myisamlog \- display MyISAM log file contents myisamlog \- display MyISAM log file contents
.SH "SYNOPSIS" .SH "SYNOPSIS"
.HP 46 .HP \w'\fBmyisamlog\ [\fR\fB\fIoptions\fR\fR\fB]\ [\fR\fB\fIlog_file\fR\fR\fB\ [\fR\fB\fItbl_name\fR\fR\fB]\ \&.\&.\&.]\fR\ 'u
\fBmyisamlog [\fR\fB\fIoptions\fR\fR\fB] [\fR\fB\fIlog_file\fR\fR\fB [\fR\fB\fItbl_name\fR\fR\fB] ...]\fR \fBmyisamlog [\fR\fB\fIoptions\fR\fR\fB] [\fR\fB\fIlog_file\fR\fR\fB [\fR\fB\fItbl_name\fR\fR\fB] \&.\&.\&.]\fR
.SH "DESCRIPTION" .SH "DESCRIPTION"
.PP .PP
\fBmyisamlog\fR \fBmyisamlog\fR
processes the contents of a processes the contents of a
MyISAM MyISAM
log file. log file\&.
.PP .PP
Invoke Invoke
\fBmyisamlog\fR \fBmyisamlog\fR
like this: like this:
.sp .sp
.RS 3n .if n \{\
.RS 4
.\}
.nf .nf
shell> \fBmyisamlog [\fR\fB\fIoptions\fR\fR\fB] [\fR\fB\fIlog_file\fR\fR\fB [\fR\fB\fItbl_name\fR\fR\fB] ...]\fR shell> \fBmyisamlog [\fR\fB\fIoptions\fR\fR\fB] [\fR\fB\fIlog_file\fR\fR\fB [\fR\fB\fItbl_name\fR\fR\fB] \&.\&.\&.]\fR
shell> \fBisamlog [\fR\fB\fIoptions\fR\fR\fB] [\fR\fB\fIlog_file\fR\fR\fB [\fR\fB\fItbl_name\fR\fR\fB] ...]\fR shell> \fBisamlog [\fR\fB\fIoptions\fR\fR\fB] [\fR\fB\fIlog_file\fR\fR\fB [\fR\fB\fItbl_name\fR\fR\fB] \&.\&.\&.]\fR
.fi .fi
.if n \{\
.RE .RE
.\}
.PP .PP
The default operation is update (\fB\-u\fR). If a recovery is done (\fB\-r\fR), all writes and possibly updates and deletes are done and errors are only counted. The default log file name is The default operation is update (\fB\-u\fR)\&. If a recovery is done (\fB\-r\fR), all writes and possibly updates and deletes are done and errors are only counted\&. The default log file name is
\fImyisam.log\fR myisam\&.log
for for
\fBmyisamlog\fR \fBmyisamlog\fR
and and
\fIisam.log\fR isam\&.log
for for
\fBisamlog\fR \fBisamlog\fR
if no if no
\fIlog_file\fR \fIlog_file\fR
argument is given. If tables are named on the command line, only those tables are updated. argument is given\&. If tables are named on the command line, only those tables are updated\&.
.PP .PP
\fBmyisamlog\fR \fBmyisamlog\fR
understands the following options: supports the following options:
.TP 3n .sp
\(bu .RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fB\-?\fR, \fB\-?\fR,
\fB\-I\fR \fB\-I\fR
.sp .sp
Display a help message and exit. Display a help message and exit\&.
.TP 3n .RE
\(bu .sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fB\-c \fR\fB\fIN\fR\fR \fB\-c \fR\fB\fIN\fR\fR
.sp .sp
Execute only Execute only
\fIN\fR \fIN\fR
commands. commands\&.
.TP 3n .RE
\(bu .sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fB\-f \fR\fB\fIN\fR\fR \fB\-f \fR\fB\fIN\fR\fR
.sp .sp
Specify the maximum number of open files. Specify the maximum number of open files\&.
.TP 3n .RE
\(bu .sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fB\-i\fR \fB\-i\fR
.sp .sp
Display extra information before exiting. Display extra information before exiting\&.
.TP 3n .RE
\(bu .sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fB\-o \fR\fB\fIoffset\fR\fR \fB\-o \fR\fB\fIoffset\fR\fR
.sp .sp
Specify the starting offset. Specify the starting offset\&.
.TP 3n .RE
\(bu .sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fB\-p \fR\fB\fIN\fR\fR \fB\-p \fR\fB\fIN\fR\fR
.sp .sp
Remove Remove
\fIN\fR \fIN\fR
components from path. components from path\&.
.TP 3n .RE
\(bu .sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fB\-r\fR \fB\-r\fR
.sp .sp
Perform a recovery operation. Perform a recovery operation\&.
.TP 3n .RE
\(bu .sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fB\-R \fR\fB\fIrecord_pos_file record_pos\fR\fR \fB\-R \fR\fB\fIrecord_pos_file record_pos\fR\fR
.sp .sp
Specify record position file and record position. Specify record position file and record position\&.
.TP 3n .RE
\(bu .sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fB\-u\fR \fB\-u\fR
.sp .sp
Perform an update operation. Perform an update operation\&.
.TP 3n .RE
\(bu .sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fB\-v\fR \fB\-v\fR
.sp .sp
Verbose mode. Print more output about what the program does. This option can be given multiple times to produce more and more output. Verbose mode\&. Print more output about what the program does\&. This option can be given multiple times to produce more and more output\&.
.TP 3n .RE
\(bu .sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fB\-w \fR\fB\fIwrite_file\fR\fR \fB\-w \fR\fB\fIwrite_file\fR\fR
.sp .sp
Specify the write file. Specify the write file\&.
.TP 3n .RE
\(bu .sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fB\-V\fR \fB\-V\fR
.sp .sp
Display version information. Display version information\&.
.RE
.SH "COPYRIGHT" .SH "COPYRIGHT"
.br
.PP .PP
Copyright 2007\-2008 MySQL AB, 2009 Sun Microsystems, Inc. Copyright 2007-2008 MySQL AB, 2009 Sun Microsystems, Inc.
.PP .PP
This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.
.PP .PP
This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
.PP .PP
You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110\-1301 USA or see http://www.gnu.org/licenses/. You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/.
.sp
.SH "SEE ALSO" .SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual, For more information, please refer to the MySQL Reference Manual,
which may already be installed locally and which is also available which may already be installed locally and which is also available
online at http://dev.mysql.com/doc/. online at http://dev.mysql.com/doc/.
.SH AUTHOR .SH AUTHOR
MySQL AB (http://www.mysql.com/). Sun Microsystems, Inc. (http://www.mysql.com/).
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
'\" t
.\" Title: \fBmysql_fix_extensions\fR .\" Title: \fBmysql_fix_extensions\fR
.\" Author: .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.70.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
.\" Date: 03/31/2009 .\" Date: 08/12/2009
.\" Manual: MySQL Database System .\" Manual: MySQL Database System
.\" Source: MySQL 5.1 .\" Source: MySQL 5.1
.\" Language: English
.\" .\"
.TH "\fBMYSQL_FIX_EXTENSI" "1" "03/31/2009" "MySQL 5.1" "MySQL Database System" .TH "\FBMYSQL_FIX_EXTENSI" "1" "08/12/2009" "MySQL 5\&.1" "MySQL Database System"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation .\" disable hyphenation
.nh .nh
.\" disable justification (adjust text to left margin only) .\" disable justification (adjust text to left margin only)
.ad l .ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.\" mysql_fix_extensions
.SH "NAME" .SH "NAME"
mysql_fix_extensions \- normalize table file name extensions mysql_fix_extensions \- normalize table file name extensions
.SH "SYNOPSIS" .SH "SYNOPSIS"
.HP 30 .HP \w'\fBmysql_fix_extensions\ \fR\fB\fIdata_dir\fR\fR\ 'u
\fBmysql_fix_extensions \fR\fB\fIdata_dir\fR\fR \fBmysql_fix_extensions \fR\fB\fIdata_dir\fR\fR
.SH "DESCRIPTION" .SH "DESCRIPTION"
.PP .PP
...@@ -21,42 +30,48 @@ mysql_fix_extensions \- normalize table file name extensions ...@@ -21,42 +30,48 @@ mysql_fix_extensions \- normalize table file name extensions
converts the extensions for converts the extensions for
MyISAM MyISAM
(or (or
ISAM) table files to their canonical forms. It looks for files with extensions matching any lettercase variant of ISAM) table files to their canonical forms\&. It looks for files with extensions matching any lettercase variant of
\fI.frm\fR, \&.frm,
\fI.myd\fR, \&.myd,
\fI.myi\fR, \&.myi,
\fI.isd\fR, and \&.isd, and
\fI.ism\fR \&.ism
and renames them to have extensions of and renames them to have extensions of
\fI.frm\fR, \&.frm,
\fI.MYD\fR, \&.MYD,
\fI.MYI\fR, \&.MYI,
\fI.ISD\fR, and \&.ISD, and
\fI.ISM\fR, respectively. This can be useful after transferring the files from a system with case\-insensitive file names (such as Windows) to a system with case\-sensitive file names. \&.ISM, respectively\&. This can be useful after transferring the files from a system with case\-insensitive file names (such as Windows) to a system with case\-sensitive file names\&.
.PP .PP
Invoke Invoke
\fBmysql_fix_extensions\fR \fBmysql_fix_extensions\fR
like this, where like this, where
\fIdata_dir\fR \fIdata_dir\fR
is the path name to the MySQL data directory. is the path name to the MySQL data directory\&.
.sp .sp
.RS 3n .if n \{\
.RS 4
.\}
.nf .nf
shell> \fBmysql_fix_extensions \fR\fB\fIdata_dir\fR\fR shell> \fBmysql_fix_extensions \fR\fB\fIdata_dir\fR\fR
.fi .fi
.if n \{\
.RE .RE
.\}
.SH "COPYRIGHT" .SH "COPYRIGHT"
.br
.PP .PP
Copyright 2007\-2008 MySQL AB, 2009 Sun Microsystems, Inc. Copyright 2007-2008 MySQL AB, 2009 Sun Microsystems, Inc.
.PP .PP
This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.
.PP .PP
This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
.PP .PP
You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110\-1301 USA or see http://www.gnu.org/licenses/. You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/.
.sp
.SH "SEE ALSO" .SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual, For more information, please refer to the MySQL Reference Manual,
which may already be installed locally and which is also available which may already be installed locally and which is also available
online at http://dev.mysql.com/doc/. online at http://dev.mysql.com/doc/.
.SH AUTHOR .SH AUTHOR
MySQL AB (http://www.mysql.com/). Sun Microsystems, Inc. (http://www.mysql.com/).
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
'\" t
.\" Title: \fBmysqld\fR .\" Title: \fBmysqld\fR
.\" Author: .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.70.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
.\" Date: 03/31/2009 .\" Date: 08/12/2009
.\" Manual: MySQL Database System .\" Manual: MySQL Database System
.\" Source: MySQL 5.1 .\" Source: MySQL 5.1
.\" Language: English
.\" .\"
.TH "\fBMYSQLD\fR" "8" "03/31/2009" "MySQL 5.1" "MySQL Database System" .TH "\FBMYSQLD\FR" "8" "08/12/2009" "MySQL 5\&.1" "MySQL Database System"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation .\" disable hyphenation
.nh .nh
.\" disable justification (adjust text to left margin only) .\" disable justification (adjust text to left margin only)
.ad l .ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.\" mysqld: MySQL server
.\" MySQL server: mysqld
.SH "NAME" .SH "NAME"
mysqld \- the MySQL server mysqld \- the MySQL server
.SH "SYNOPSIS" .SH "SYNOPSIS"
.HP 17 .HP \w'\fBmysqld\ [\fR\fB\fIoptions\fR\fR\fB]\fR\ 'u
\fBmysqld [\fR\fB\fIoptions\fR\fR\fB]\fR \fBmysqld [\fR\fB\fIoptions\fR\fR\fB]\fR
.SH "DESCRIPTION" .SH "DESCRIPTION"
.PP .PP
\fBmysqld\fR, also known as MySQL Server, is the main program that does most of the work in a MySQL installation. MySQL Server manages access to the MySQL data directory that contains databases and tables. The data directory is also the default location for other information such as log files and status files. \fBmysqld\fR, also known as MySQL Server, is the main program that does most of the work in a MySQL installation\&. MySQL Server manages access to the MySQL data directory that contains databases and tables\&. The data directory is also the default location for other information such as log files and status files\&.
.PP .PP
When MySQL server starts, it listens for network connections from client programs and manages access to databases on behalf of those clients. When MySQL server starts, it listens for network connections from client programs and manages access to databases on behalf of those clients\&.
.PP .PP
The The
\fBmysqld\fR \fBmysqld\fR
program has many options that can be specified at startup. For a complete list of options, run this command: program has many options that can be specified at startup\&. For a complete list of options, run this command:
.sp .sp
.RS 3n .if n \{\
.RS 4
.\}
.nf .nf
shell> \fBmysqld \-\-verbose \-\-help\fR shell> \fBmysqld \-\-verbose \-\-help\fR
.fi .fi
.if n \{\
.RE .RE
.\}
.PP .PP
MySQL Server also has a set of system variables that affect its operation as it runs. System variables can be set at server startup, and many of them can be changed at runtime to effect dynamic server reconfiguration. MySQL Server also has a set of status variables that provide information about its operation. You can monitor these status variables to access runtime performance characteristics. MySQL Server also has a set of system variables that affect its operation as it runs\&. System variables can be set at server startup, and many of them can be changed at runtime to effect dynamic server reconfiguration\&. MySQL Server also has a set of status variables that provide information about its operation\&. You can monitor these status variables to access runtime performance characteristics\&.
.PP .PP
For a full description of MySQL Server command options, system variables, and status variables, see For a full description of MySQL Server command options, system variables, and status variables, see
Section\ 5.1, \(lqThe MySQL Server\(rq. For information about installing MySQL and setting up the initial configuration, see Section\ \&5.1, \(lqThe MySQL Server\(rq\&. For information about installing MySQL and setting up the initial configuration, see
Chapter\ 2, Installing and Upgrading MySQL. Chapter\ \&2, Installing and Upgrading MySQL\&.
.SH "COPYRIGHT" .SH "COPYRIGHT"
.br
.PP .PP
Copyright 2007\-2008 MySQL AB, 2009 Sun Microsystems, Inc. Copyright 2007-2008 MySQL AB, 2009 Sun Microsystems, Inc.
.PP .PP
This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.
.PP .PP
This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
.PP .PP
You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110\-1301 USA or see http://www.gnu.org/licenses/. You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/.
.sp
.SH "SEE ALSO" .SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual, For more information, please refer to the MySQL Reference Manual,
which may already be installed locally and which is also available which may already be installed locally and which is also available
online at http://dev.mysql.com/doc/. online at http://dev.mysql.com/doc/.
.SH AUTHOR .SH AUTHOR
MySQL AB (http://www.mysql.com/). Sun Microsystems, Inc. (http://www.mysql.com/).
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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