Oracle 5.0 Reference Manual page 156

Table of Contents

Advertisement

Script
mysql.server
[mysqld-major_version]
[mysqld-5.0]
used to specify options that can be read only by servers within a given release series.
For backward compatibility,
mysqld_safe
use the
[mysql.server]
For more information on MySQL configuration files and their structure and contents, see
Section 4.2.3.3, "Using Option
2.18.1.3. Starting and Troubleshooting the MySQL Server
This section provides troubleshooting suggestions for problems starting the server on Unix. If you are
using Windows, see
If you have problems starting the server, here are some things to try:
• Check the error log to see why the server does not start.
• Specify any special options needed by the storage engines you are using.
• Make sure that the server knows where to find the data directory.
• Make sure that the server can access the data directory. The ownership and permissions of the data
directory and its contents must be set such that the server can read and modify them.
• Verify that the network interfaces the server wants to use are available.
Some storage engines have options that control their behavior. You can create a
specify startup options for the engines that you plan to use. If you are going to use storage engines that
support transactional tables (InnoDB, BDB, NDB), be sure that you have them configured the way you
want before starting the server:
• If you are using
• If you are using
• If you are using MySQL Cluster, see
Storage engines will use default option values if you specify none, but it is recommended that you
review the available options and specify explicit values for those for which the defaults are not
appropriate for your installation.
When the
mysqld
find databases and where it expects to write log files. The server also writes the pid (process ID) file in
the data directory.
The data directory location is hardwired in when the server is compiled. This is where the server looks
for the data directory by default. If the data directory is located somewhere else on your system, the
server will not work properly. You can determine what the default path settings are by invoking
with the
--verbose
If the default locations do not match the MySQL installation layout on your system, you can override
them by specifying options to
To specify the location of the data directory explicitly, use the
normally you can tell
looks for the data directory there. You can do this with the
Unix Postinstallation Procedures
Option Groups
[mysqld], [mysql.server],
means that groups with names like
are read by servers having versions 4.1.x, 5.0.x, and so forth. This feature can be
mysql.server
also reads the
[safe_mysqld]
and
[mysqld_safe]
Files".
Section 2.10.5, "Troubleshooting a MySQL Installation Under
tables, see
InnoDB
(Berkeley DB) tables, see
BDB
server starts, it changes location to the data directory. This is where it expects to
[425]
and
--help
mysqld
the location of the base directory under which MySQL is installed and it
mysqld
[server]
also reads the
[mysql_server]
group. However, you should update your option files to
groups instead when using MySQL 5.0.
Section 14.2.1,
"InnoDB
Section 14.5.3,
Section 17.3, "MySQL Cluster
[400]
options.
or
on the command line or in an option file.
mysqld_safe
--basedir
136
and
[mysqld-4.1]
group and
Windows".
my.cnf
Configuration".
"BDB
Startup
Options".
Configuration".
[404]
option. However,
--datadir
[401]
option.
file and
mysqld

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents