Oracle 5.0 Reference Manual page 268

Table of Contents

Advertisement

Use the
program to set the server's scheduling priority to the given value.
nice
[248]
--no-defaults
Do not read any option files. This must be the first option on the command line if it is used.
--open-files-limit=count
The number of files that
Note that you need to start
--pid-file=file_name
The path name of the process ID file.
--port=port_num
The port number that the server should use when listening for TCP/IP connections. The port number
must be 1024 or higher unless the server is started by the
--skip-kill-mysqld
Do not try to kill stray
[248]
--socket=path
The Unix socket file that the server should use when listening for local connections.
--timezone=timezone
Set the
time zone environment variable to the given option value. Consult your operating system
TZ
documentation for legal time zone specification formats.
--user={user_name|user_id}
Run the
server as the user having the name
mysqld
("User" in this context refers to a system login account, not a MySQL user listed in the grant tables.)
If you execute
mysqld_safe
[247]
option to name an option file, the option must be the first one given on the command line
file
or the option file will not be used. For example, this command will not use the named option file:
mysql>
mysqld_safe --port=port_num --defaults-file=file_name
Instead, use the following command:
mysql>
mysqld_safe --defaults-file=file_name --port=port_num
The
script is written so that it normally can start a server that was installed from either
mysqld_safe
a source or a binary distribution of MySQL, even though these types of distributions typically install the
server in slightly different locations. (See
one of the following conditions to be true:
• The server and databases can be found relative to the working directory (the directory from which
is invoked). For binary distributions,
mysqld_safe
for
and
directories. For source distributions, it looks for
bin
data
condition should be met if you execute
example,
/usr/local/mysql
• If the server and databases cannot be found relative to the working directory,
attempts to locate them by absolute path names. Typical locations are
and /usr/local/var. The actual locations are determined from the values configured into the
— MySQL Server Startup Script
mysqld_safe
[248]
should be able to open. The option value is passed to
mysqld
mysqld_safe
[248]
[248]
[248]
processes at startup. This option works only on Linux.
mysqld
[248]
[248]
with the
--defaults-file
Section 2.7, "Installation
mysqld_safe
for a binary distribution).
248
as
for this to work properly!
root
system user.
root
user_name
[247]
or
Layouts".)
mysqld_safe
from your MySQL installation directory (for
ulimit
or the numeric user ID user_id.
--defaults-extra-
mysqld_safe
looks under its working directory
and
directories. This
libexec
var
mysqld_safe
/usr/local/libexec
-n.
expects

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents