distribution at the time it was built. They should be correct if MySQL is installed in the location
specified at configuration time.
Because
mysqld_safe
you can install a binary distribution of MySQL anywhere, as long as you run
MySQL installation directory:
shell>
cd mysql_installation_directory
shell>
bin/mysqld_safe &
If
mysqld_safe
[247]
--ledir
databases are located on your system.
Normally, you should not edit the
command-line options or options in the
it might be necessary to edit
this, your modified version of
so you should make a copy of your edited version that you can reinstall.
On NetWare,
shell script. It starts the server as follows:
1. Runs a number of system and option checks.
2. Runs a check on
3. Provides a screen presence for the MySQL server.
4. Starts mysqld, monitors it, and restarts it if it terminates in error.
5. Sends error messages from
6. Sends
mysqld_safe
4.3.3.
mysql.server
MySQL distributions on Unix include a script named mysql.server. It can be used on systems such
as Linux and Solaris that use System V-style run directories to start and stop system services. It is also
used by the Mac OS X Startup Item for MySQL.
mysql.server
directory or in a MySQL source distribution.
If you use the Linux server RPM package (MySQL-server-VERSION.rpm), the
will be installed in the
See
Section 2.12, "Installing MySQL from RPM Packages on
RPM packages.
Some vendors provide RPM packages that install a startup script under a different name such as
mysqld.
If you install MySQL from a source distribution or using a binary distribution format that does not install
mysql.server
"Starting and Stopping MySQL
mysql.server
backward compatibility, it also reads
sections to
[mysql.server]
mysql.server
•
--basedir=path
mysql.server
tries to find the server and databases relative to its own working directory,
fails, even when invoked from the MySQL installation directory, you can specify the
and
[247]
--datadir
mysqld_safe
mysqld_safe
mysqld_safe
is a NetWare Loadable Module (NLM) that is ported from the original Unix
mysqld_safe
tables.
MyISAM
mysqld
screen output to the
— MySQL Server Startup Script
can be found in the
/etc/init.d
automatically, you can install it manually. Instructions are provided in
Automatically".
reads options from the
when using MySQL 5.0.
supports the following options.
[249]
— MySQL Server Startup Script
options to indicate the directories in which the server and
script. Instead, configure
section of a
[mysqld_safe]
to get it to start the server properly. However, if you do
might be overwritten if you upgrade MySQL in the future,
to the
host_name.err
host_name.safe
directory under your MySQL installation
support-files
directory with the name mysql. You need not install it manually.
and
[mysql.server]
sections, although you should rename such
[mysql_server]
249
mysqld_safe
mysqld_safe
option file. In rare cases,
my.cnf
file in the data directory.
file in the data directory.
mysql.server
Linux", for more information on the Linux
sections of option files. For
[mysqld]
from the
by using
script
Section 2.18.1.2,
Need help?
Do you have a question about the 5.0 and is the answer not in the manual?
Questions and answers