GNU/Linux |
CentOS 5.1 |
|
![]() |
mysql.server(1) |
![]() |
mysql.server − MySQL server startup script
mysql {start|stop} |
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 can be found in the support−files directory under your MySQL installation directory or in a MySQL source distribution.
If you use the Linux server RPM package (MySQL−server−VERSION.rpm), the mysql.server script will be installed in the /etc/init.d directory with the name mysql. You need not install it manually. See Section 4, “Installing MySQL on Linux”, for more information on the Linux 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 automatically, you can install it manually. Instructions are provided in Section 10.2.2, “Starting and Stopping MySQL Automatically”.
mysql.server reads options from the [mysql.server] and [mysqld] sections of option files. For backward compatibility, it also reads [mysql_server] sections, although you should rename such sections to [mysql.server] when using MySQL 5.0.
msql2mysql(1), myisam_ftdump(1), myisamchk(1), myisamlog(1), myisampack(1), mysql(1), mysql_config(1), mysql_fix_privilege_tables(1), mysql_upgrade(1), mysql_zap(1), mysqlaccess(1), mysqladmin(1), mysqlbinlog(1), mysqlcheck(1), mysqld(1), mysqld_multi(1), mysqld_safe(1), mysqldump(1), mysqlhotcopy(1), mysqlimport(1), mysqlmanager(1), mysqlshow(1), perror(1), replace(1), safe_mysqld(1)
For more information, please refer to the MySQL Reference Manual, which may already be installed locally and which is also available online at http://dev.mysql.com/doc/.
MySQL AB (http://www.mysql.com/). This software comes with no warranty.
![]() |
mysql.server(1) | ![]() |