Le fichier mysql.server est le script de démarrage fourni par défaut avec mysql. Il est présent dans libexec.
Voici un extrait de la documentation MySQL 5 :
2.9.2.2 Starting and stopping MySQL automatically
* By invoking mysqld directly. This works on any platform.
* By running the MySQL server as a Windows service. This can be done on versions of Windows
that support services (such as NT, 2000, XP, and 2003). The service can be set to start the server
automatically when Windows starts, or as a manual service that you start on request. For instructions,
see Section 2.3.12, “Starting MySQL as a Windows Service”.
* By invoking mysqld_safe, which tries to determine the proper options for mysqld and then
runs it with those options. This script is used on systems
* By invoking mysql.server. This script is used primarily at system startup and shutdown on systems that use System V-style run directories, where it usually is installed under the name mysql. The mysql.server script starts the server by invoking mysqld_safe. See Section 5.1.4, “mysql.server — MySQL Server Startup Script”.
Partager