Home >Database >Mysql Tutorial >mysql service 1067 error and solution

mysql service 1067 error and solution

零下一度
零下一度Original
2017-05-11 14:58:301516browse

This article mainly introduces the solution to the Mysql service 1067 error: modify the relevant information of the mysql executable file path. Friends in need can refer to it

Encountered the mysql service today 1067 error problem. Mysql cannot be started using the system account. After checking the system configuration information after authentication, I found that the startup file is mysqlinstallation. The path is the same as before (it also means that mysql was installed before and was not uninstalled. Installing the new one directly will cause an error), so I plan to modify the mysql executable file path and replace it with 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

[Related recommendations]

1. Free mysql online video tutorial

2. MySQL latest manual tutorial

3. Those things about database design

The above is the detailed content of mysql service 1067 error and solution. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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