Java Tutorial - Java Script : Starting MySQL

Java Tutorial - Java Script :

Starting MySQL

The setup program creates a program subdirectory. By default, this is named c:\mysql. Setup does not create any Start menu items or desktop shortcuts. MySQL is automatically installed as a service under Windows NT, 2000, and XP. By default, this service will start automatically each time the system is rebooted. The service can be controlled through the standard service control panel applet or can be started and stopped using the program winmysql admin.exe. The program can be found in the mysql\bin directory. This utility also makes it easy to change the configuration information for the database running under Windows.

MySQL can also be started from the command line. To do this change directory to the MySQL\bin subdirectory, and enter the command:

mysqld-max —standalone

The following command can be used to stop MySQL:

mysqladmin -u root shutdown