Modification method: 1. Stop the MySql service in the "Service" window; 2. Open the registry, find the service you want to change the path in the MySql directory under "HKEY_LOCAL_MACHINE", double-click the "ImagePath" key name, Just modify the numerical data to the specified startup path.
(Recommended tutorial: mysql video tutorial)
Modify Mysql startup directory path
First stop MySql in the service (Start->Run->services.msc->Enter) and find the Mysql service to stop;
In the registry (Start->Run->regedit->Press Enter);
Find the service you want to change the path in the [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MySql] directory. The key name is "ImagePath
";
Double-click "ImagePath" to modify the numerical data;
Default value: C:\Program Files\MySQL\MySQL Server 5.0\bin\mysqld-nt. exe MySQL
Related recommendations:php training
The above is the detailed content of How to modify the mysql startup directory?. For more information, please follow other related articles on the PHP Chinese website!