~mathiaz/ubuntu/lucid/mysql-dfsg-5.1/zap-bug-552053

« back to all changes in this revision

Viewing changes to man/mysqld_safe.1

  • Committer: Bazaar Package Importer
  • Author(s): Mathias Gug
  • Date: 2009-06-25 12:55:45 UTC
  • mfrom: (1.1.2 upstream) (0.1.3 experimental)
  • Revision ID: james.westby@ubuntu.com-20090625125545-m8ogs96zzsri74xe
Tags: 5.1.34-1ubuntu1
* Merge from debian experimental (and 5.0 from main), remaining changes:
  - debian/mysql-server-5.1.config:
    + ask for MySQL root password at priority high instead of medium so
      that the password prompt is seen on a default install. (LP: #319843)
    + don't ask for root password when upgrading from a 5.0 install.
  - debian/control:
    + Make libmysqlclient16-dev a transitional package depending on
      libmysqlclient-dev.
    + Make libmysqlclient-dev conflict with libmysqlclient15-dev.
    + Don't build mysql-server, mysql-client, mysql-common and
      libmysqlclient15-dev binary packages since they're still provided
      by mysql-dfsg-5.0.
    + Make mysql-{client,server}-5.1 packages conflict and
      replace mysql-{client,server}-5.0, but not provide
      mysql-{client,server}.
    + Depend on a specific version of mysql-common rather than the src
      version of mysql-dfsg-5.1 since mysql-common is currently part of
      mysql-dfsg-5.0.
    + Lower mailx from a Recommends to a Suggests to avoid pulling in
      a full MTA on all installs of mysql-server. (LP: #259477)
  - debian/rules:
    + added -fno-strict-aliasing to CFLAGS to get around mysql testsuite
      build failures.
    + install mysql-test and sql-bench to /usr/share/mysql/ rather than
      /usr/.
  - debian/additions/debian-start.inc.sh: support ANSI mode (LP: #310211)
  - Add AppArmor profile:
    - debian/apparmor-profile: apparmor profile.
    - debian/rules, debian/mysql-server-5.0.files: install apparmor profile.
    - debian/mysql-server-5.0.dirs: add etc/apparmor.d/force-complain
    - debian/mysql-server-5.0.postrm: remove symlink in force-complain/ on
      purge.
    - debian/mysql-server-5.1.README.Debian: add apparmor documentation.
    - debian/additions/my.cnf: Add warning about apparmor. (LP: #201799)
    - debian/mysql-server-5.1.postinst: reload apparmor profiles.
  - debian/additions/my.cnf: remove language option. Error message files are
    located in a different directory in MySQL 5.0. Setting the language
    option to use /usr/share/mysql/english breaks 5.0. Both 5.0 and 5.1
    use a default value that works. (LP: #316974)
  - debian/mysql-server-5.1.mysql.init:
    + Clearly indicate that we do not support running multiple instances
      of mysqld by duplicating the init script.
      (closes: #314785, #324834, #435165, #444216)
    + Properly parameterize all existing references to the mysql config
      file (/etc/mysql/my.cnf).
  - debian/mysql-server-5.0.postinst: Clear out the second password
    when setting up mysql. (LP: #344816)
  - mysql-server-core-5.1 package for files needed by Akonadi:
    + debian/control: create mysql-server-core-5.1 package.
    + debian/mysql-server-core-5.1.files, debian/mysql-server-5.1.files:
      move core mysqld files to mysql-server-core-5.1 package.
  - Don't package sql-bench and mysql-test file.
* Dropped changes:
  - debian/patches/92_ssl_test_cert.dpatch: certificate expiration in
    test suite (LP: #323755). Included upstream.
* Dropped from 5.0:
  - apparmor profile:
    - debian/control: Recommends apparmor >= 2.1+1075-0ubuntu6. All version
      of apparmor-profile (>hardy) are higher than this version.
    - debian/mysql-server-5.0.preinst: create symlink for force-complain/
      on pre-feisty upgrades, upgrades where apparmor-profiles profile is
      unchanged (ie non-enforcing) and upgrades where the profile
      doesn't exist. Support for pre-hardy upgrades is no longer needed.
* debian/mysql-server-5.1.postinst: fix debian-sys-maint user creation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
.\"     Title: \fBmysqld_safe\fR
2
2
.\"    Author: 
3
3
.\" Generator: DocBook XSL Stylesheets v1.70.1 <http://docbook.sf.net/>
4
 
.\"      Date: 01/19/2009
 
4
.\"      Date: 03/31/2009
5
5
.\"    Manual: MySQL Database System
6
6
.\"    Source: MySQL 5.1
7
7
.\"
8
 
.TH "\fBMYSQLD_SAFE\fR" "1" "01/19/2009" "MySQL 5.1" "MySQL Database System"
 
8
.TH "\fBMYSQLD_SAFE\fR" "1" "03/31/2009" "MySQL 5.1" "MySQL Database System"
9
9
.\" disable hyphenation
10
10
.nh
11
11
.\" disable justification (adjust text to left margin only)
38
38
\fBlogger\fR
39
39
program. This differs from the default behavior of writing an error log file for other versions.
40
40
.PP
41
 
\fBIn 5.1.20, logging to \fR\fBsyslog\fR\fB may fail to operate correctly in some cases, so we recommend that you use \fR\fB\fB\-\-skip\-syslog\fR\fR\fB to use the default log file or \fR\fB\fB\-\-log\-error=\fR\fB\fIfile_name\fR\fR\fR\fB to specify a log filename explicitly.\fR
 
41
\fBIn 5.1.20, logging to \fR\fBsyslog\fR\fB may fail to operate correctly in some cases, so we recommend that you use \fR\fB\fB\-\-skip\-syslog\fR\fR\fB to use the default log file or \fR\fB\fB\-\-log\-error=\fR\fB\fIfile_name\fR\fR\fR\fB to specify a log file name explicitly.\fR
42
42
.PP
43
43
\fBmysqld_safe\fR
44
44
tries to start an executable named
57
57
\fBmysqld_safe\fR
58
58
are the same as the options to
59
59
\fBmysqld\fR. See
60
 
Section\ 1.2, \(lqServer Command Options\(rq.
 
60
Section\ 5.1.2, \(lqServer Command Options\(rq.
61
61
.PP
62
62
All options specified to
63
63
\fBmysqld_safe\fR
69
69
doesn't support, do not specify them on the command line. Instead, list them in the
70
70
[mysqld_safe]
71
71
group of an option file. See
72
 
Section\ 2.3.2, \(lqUsing Option Files\(rq.
 
72
Section\ 4.2.3.2, \(lqUsing Option Files\(rq.
73
73
.PP
74
74
\fBmysqld_safe\fR
75
75
reads all options from the
159
159
.sp
160
160
If
161
161
\fBmysqld_safe\fR
162
 
cannot find the server, use this option to indicate the pathname to the directory where the server is located.
 
162
cannot find the server, use this option to indicate the path name to the directory where the server is located.
163
163
.TP 3n
164
164
\(bu
165
165
\fB\-\-log\-error=\fR\fB\fIfile_name\fR\fR
166
166
.sp
167
167
Write the error log to the given file. See
168
 
Section\ 2.2, \(lqThe Error Log\(rq.
 
168
Section\ 5.2.2, \(lqThe Error Log\(rq.
169
169
.TP 3n
170
170
\(bu
171
171
\fB\-\-mysqld=\fR\fB\fIprog_name\fR\fR
176
176
\fBmysqld_safe\fR
177
177
cannot find the server, use the
178
178
\fB\-\-ledir\fR
179
 
option to indicate the pathname to the directory where the server is located.
 
179
option to indicate the path name to the directory where the server is located.
180
180
.TP 3n
181
181
\(bu
182
182
\fB\-\-mysqld\-version=\fR\fB\fIsuffix\fR\fR
228
228
\(bu
229
229
\fB\-\-pid\-file=\fR\fB\fIfile_name\fR\fR
230
230
.sp
231
 
The pathname of the process ID file.
 
231
The path name of the process ID file.
232
232
.TP 3n
233
233
\(bu
234
234
\fB\-\-port=\fR\fB\fIport_num\fR\fR
305
305
with the
306
306
\fB\-\-defaults\-file\fR
307
307
or
308
 
\fB\-\-defaults\-extra\-option\fR
 
308
\fB\-\-defaults\-extra\-file\fR
309
309
option to name an option file, the option must be the first one given on the command line or the option file will not be used. For example, this command will not use the named option file:
310
310
.sp
311
311
.RS 3n
325
325
The
326
326
\fBmysqld_safe\fR
327
327
script is written so that it normally can start a server that was installed from either a source or a binary distribution of MySQL, even though these types of distributions typically install the server in slightly different locations. (See
328
 
Section\ 1.5, \(lqInstallation Layouts\(rq.)
 
328
Section\ 2.1.5, \(lqInstallation Layouts\(rq.)
329
329
\fBmysqld_safe\fR
330
330
expects one of the following conditions to be true:
331
331
.TP 3n
351
351
\(bu
352
352
If the server and databases cannot be found relative to the working directory,
353
353
\fBmysqld_safe\fR
354
 
attempts to locate them by absolute pathnames. Typical locations are
 
354
attempts to locate them by absolute path names. Typical locations are
355
355
\fI/usr/local/libexec\fR
356
356
and
357
357
\fI/usr/local/var\fR. The actual locations are determined from the values configured into the distribution at the time it was built. They should be correct if MySQL is installed in the location specified at configuration time.
421
421
\fBNote\fR
422
422
.PP
423
423
In MySQL 5.1.20
424
 
\fBonly\fR, the default is
 
424
\fIonly\fR, the default is
425
425
\fB\-\-syslog\fR. This differs from logging behavior for other versions of MySQL, for which the default is to write messages to the default error log file.
426
426
.PP
427
427
If
491
491
file in the data directory.
492
492
.SH "COPYRIGHT"
493
493
.PP
494
 
Copyright 2007\-2008 MySQL AB, 2008 Sun Microsystems, Inc.
 
494
Copyright 2007\-2008 MySQL AB, 2009 Sun Microsystems, Inc.
495
495
.PP
496
 
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.
 
496
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.
497
497
.PP
498
498
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.
499
499
.PP