Overview Of Mysql Programs - Oracle 5.0 Reference Manual

Table of Contents

Advertisement

4.7.4.
4.8. Miscellaneous Programs ..................................................................................................... 373
4.8.1.
4.8.2.
4.8.3.
This chapter provides a brief overview of the MySQL command-line programs provided by Oracle
Corporation. It also discusses the general syntax for specifying options when you run these programs.
Most programs have options that are specific to their own operation, but the option syntax is similar for
all of them. Finally, the chapter provides more detailed descriptions of individual programs, including
which options they recognize.

4.1. Overview of MySQL Programs

There are many different programs in a MySQL installation. This section provides a brief overview of
them. Later sections provide a more detailed description of each one, with the exception of MySQL
Cluster programs. Each program's description indicates its invocation syntax and the options that it
supports.
Chapter 17, MySQL
Most MySQL distributions include all of these programs, except for those programs that are platform-
specific. (For example, the server startup scripts are not used on Windows.) The exception is that RPM
distributions are more specialized. There is one RPM for the server, another for client programs, and
so forth. If you appear to be missing one or more programs, see
MySQL, for information on types of distributions and what they contain. It may be that you have a
distribution that does not include all programs and you need to install an additional package.
Each MySQL program takes many different options. Most programs provide a
can use to get a description of the program's different options. For example, try
You can override default option values for MySQL programs by specifying options on the command
line or in an option file. See
programs and specifying program options.
The MySQL server, mysqld, is the main program that does most of the work in a MySQL installation.
The server is accompanied by several related scripts that assist you in starting and stopping the server:
mysqld
The SQL daemon (that is, the MySQL server). To use client programs,
because clients gain access to databases by connecting to the server. See
— The MySQL
mysqld_safe
A server startup script.
— MySQL Server Startup
mysql.server
A server startup script. This script is used on systems that use System V-style run directories
containing scripts that start system services for particular run levels. It invokes
the MySQL server. See
mysqld_multi
A server startup script that can start or stop multiple servers installed on the system. See
Section 4.3.4,
systems) or 5.0.13 (Windows), an alternative to
Instance Manager. See
There are several programs that perform setup operations during MySQL installation or upgrading:

Overview of MySQL Programs

resolve_stack_dump
— Explain Error Codes ............................................................................... 373
perror
— A String-Replacement Utility ................................................................. 374
replace
— Resolve Host name to IP Address or Vice Versa ................................ 375
resolveip
Cluster, describes programs specific to MySQL Cluster.
Section 4.2, "Using MySQL
Server".
mysqld_safe
Script".
Section 4.3.3,
"mysqld_multi
Section 4.6.10,
— Resolve Numeric Stack Trace Dump to Symbols .............. 373
Programs", for general information on invoking
attempts to start mysqld. See
"mysql.server
— Manage Multiple MySQL
mysqld_multi
"mysqlmanager
224
Chapter 2, Installing and Upgrading
--help
mysql
mysqld
Section 4.3.1,
Section 4.3.2,
mysqld_safe
— MySQL Server Startup
Servers". As of MySQL 5.0.3 (Unix-like
is mysqlmanager, the MySQL
— The MySQL Instance
option that you
--help.
must be running,
"mysqld
"mysqld_safe
to start
Script".
Manager".

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 5.0 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Mysql 5.0

Table of Contents