~ubuntu-branches/ubuntu/hardy/mysql-dfsg-5.0/hardy

« back to all changes in this revision

Viewing changes to man/mysql_convert_table_format.1

  • Committer: Bazaar Package Importer
  • Author(s): Mathias Gug, Mathias Gug, Chuck Short
  • Date: 2008-01-25 04:10:49 UTC
  • mfrom: (1.1.14 upstream)
  • Revision ID: james.westby@ubuntu.com-20080125041049-9v0lza2vm6jfv1uf
Tags: 5.0.51-3ubuntu1
[Mathias Gug]
* Merge from debian unstable, remaining changes:
  - debian/control:
    - Set Maintainer to Ubuntu Core dev. Move Debian maintainer
      to XSBC-Original-Maintainer.
    - Add mysql-doc-5.0 as a Suggests to mysql-client-5.0,  mysql-server-5.0
      and libmysqlclient15-dev.
  - debian/rules: Apply same configuration options on lpia as for i386.
* debian/control:
  - Preprend XS-Original- to Vcs-{Browser,Svn}.
* debian/rules:
  - Support DEB_BUILD_OPTIONS option 'nocheck' to skip tests.
* Dropped patches:
  - debian/patches/91_bug29389.dpatch:
      fix for mysql bug 27383 which causes mysql-test 'mysql_client_test'
      to fail due to gcc 4.x optimizations.
  - debian/libmysqlclient15-dev.files, debian/mysql-client-5.0.files,
    debian/mysql-server-5.0.files: man pages are GPLed now.
* Improved error message when unable to connect using debian-sys-maint. (LP:
  #153868)

[Chuck Short]
* Replcaed --with-comment="Debian" with --with-comment="Ubuntu" in debian/rules  (LP: #134384)
* Added note about the "/etc/mysql/conf.d" directory in my.cnf (LP: #136225)
* Fixed mysqlhotcopy failure. (LP: #162393)
* Fixed mysqlslowdump usage.  Added patch from Arnold Daniels <info@adaniels.nl>. (LP: #183762)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.\"     Title: \fBmysql_convert_table_format\fR
 
2
.\"    Author: 
 
3
.\" Generator: DocBook XSL Stylesheets v1.70.1 <http://docbook.sf.net/>
 
4
.\"      Date: 11/15/2007
 
5
.\"    Manual: MySQL Database System
 
6
.\"    Source: MySQL 5.0
 
7
.\"
 
8
.TH "\fBMYSQL_CONVERT_TAB" "1" "11/15/2007" "MySQL 5.0" "MySQL Database System"
 
9
.\" disable hyphenation
 
10
.nh
 
11
.\" disable justification (adjust text to left margin only)
 
12
.ad l
 
13
.SH "NAME"
 
14
mysql_convert_table_format \- convert tables to use a given storage engine
 
15
.SH "SYNOPSIS"
 
16
.HP 45
 
17
\fBmysql_convert_table_format [\fR\fB\fIoptions\fR\fR\fB] \fR\fB\fIdb_name\fR\fR
 
18
.SH "DESCRIPTION"
 
19
.PP
 
20
\fBmysql_convert_table_format\fR
 
21
converts the tables in a database to use a particular storage engine (MyISAM
 
22
by default).
 
23
\fBmysql_convert_table_format\fR
 
24
is written in Perl and requires that the
 
25
DBI
 
26
and
 
27
DBD::mysql
 
28
Perl modules be installed (see
 
29
Section\ 4.21, \(lqPerl Installation Notes\(rq).
 
30
.PP
 
31
Invoke
 
32
\fBmysql_convert_table_format\fR
 
33
like this:
 
34
.sp
 
35
.RS 3n
 
36
.nf
 
37
shell> \fBmysql_convert_table_format [\fR\fB\fIoptions\fR\fR\fB]\fR\fB\fIdb_name\fR\fR
 
38
.fi
 
39
.RE
 
40
.PP
 
41
The
 
42
\fIdb_name\fR
 
43
argument indicates the database containing the tables to be converted.
 
44
.PP
 
45
\fBmysql_convert_table_format\fR
 
46
understands the options described in the following list.
 
47
.TP 3n
 
48
\(bu
 
49
\fB\-\-help\fR
 
50
.sp
 
51
Display a help message and exit.
 
52
.TP 3n
 
53
\(bu
 
54
\fB\-\-force\fR
 
55
.sp
 
56
Continue even if errors occur.
 
57
.TP 3n
 
58
\(bu
 
59
\fB\-\-host=\fR\fB\fIhost_name\fR\fR
 
60
.sp
 
61
Connect to the MySQL server on the given host.
 
62
.TP 3n
 
63
\(bu
 
64
\fB\-\-password=\fR\fB\fIpassword\fR\fR
 
65
.sp
 
66
The password to use when connecting to the server. Note that the password value is not optional for this option, unlike for other MySQL programs. You can use an option file to avoid giving the password on the command line.
 
67
.sp
 
68
Specifying a password on the command line should be considered insecure. See
 
69
Section\ 6.6, \(lqKeeping Your Password Secure\(rq.
 
70
.TP 3n
 
71
\(bu
 
72
\fB\-\-port=\fR\fB\fIport_num\fR\fR
 
73
.sp
 
74
The TCP/IP port number to use for the connection.
 
75
.TP 3n
 
76
\(bu
 
77
\fB\-\-socket=\fR\fB\fIpath\fR\fR
 
78
.sp
 
79
For connections to
 
80
localhost, the Unix socket file to use.
 
81
.TP 3n
 
82
\(bu
 
83
\fB\-\-type=\fR\fB\fIengine_name\fR\fR
 
84
.sp
 
85
Specify the storage engine that the tables should be converted to use. The default is
 
86
MyISAM
 
87
if this option is not given.
 
88
.TP 3n
 
89
\(bu
 
90
\fB\-\-user=\fR\fB\fIuser_name\fR\fR
 
91
.sp
 
92
The MySQL username to use when connecting to the server.
 
93
.TP 3n
 
94
\(bu
 
95
\fB\-\-verbose\fR
 
96
.sp
 
97
Verbose mode. Print more information about what the program does.
 
98
.TP 3n
 
99
\(bu
 
100
\fB\-\-version\fR
 
101
.sp
 
102
Display version information and exit.
 
103
.SH "COPYRIGHT"
 
104
.PP
 
105
Copyright 2007 MySQL AB
 
106
.PP
 
107
This documentation is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.
 
108
.PP
 
109
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.
 
110
.PP
 
111
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/.
 
112
.PP
 
113
Please email
 
114
<docs@mysql.com>
 
115
for more information or if you are interested in doing a translation.
 
116
.SH "SEE ALSO"
 
117
For more information, please refer to the MySQL Reference Manual,
 
118
which may already be installed locally and which is also available
 
119
online at http://dev.mysql.com/doc/.
 
120
.SH AUTHOR
 
121
MySQL AB (http://www.mysql.com/).