Home > Database > Mysql Tutorial > Mysql service 1067 error solution: modify the mysql executable file path

Mysql service 1067 error solution: modify the mysql executable file path

巴扎黑
Release: 2017-05-14 14:14:10
Original
1373 people have browsed it

This article mainly introduces the solution to the Mysql service 1067 error: related information on modifying the path of the mysql executable file. Friends in need can refer to the following

I encountered the problem of mysql service 1067 error today. Settings Mysql cannot be started using the system account. After checking the system configuration information after authentication, I found that the startup file, which is the installation path of mysql, is the previous one (it also means that mysql was installed before, and an error will occur if I install a new one without uninstalling it), so I plan to modify it. Change the mysql executable file path to the current one.

But various Baidu explanations were not clear. Later I planned to give up and simply reinstalled the system, only to find that this could be solved.

Step 1: Stop the service MySQL

Step 2: (Console: Run->regedit), according to the path HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\, find the path you want to change Services, you can also use the search function that comes with the registry to find the path you want to modify

Run->regedit

Go here See the mysql executable file path "

We can write the new path in, mine is "D:\SOFT_PHP_PACKAGE\mysql\bin\mysqld" –defaults-file="D:\SOFT_PHP_PACKAGE\mysql \my.ini” MySQL

The above is the detailed content of Mysql service 1067 error solution: modify the mysql executable file path. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template