Home  >  Article  >  Database  >  Solution to Mysql startup error 1067 under Windows

Solution to Mysql startup error 1067 under Windows

一个新手
一个新手Original
2017-10-19 10:19:071943browse

I just installed Mysql a few days ago and I can open it at the beginning. Today I went to the company and found that the service could not be started and reported a 1067 error. I checked some methods on the Internet, many versions... The following is my solution

1. Open Run-Event Viewer-Windows Log-Application-Look for the error flag, as shown below

Since you are using the installed version, My. The Datadir under ini has not been modified, so an error is reported and the data file cannot be found at startup, so you need to change the Datadir in the my.ini file to the data file in your installation path

Then save and restart

The above is the detailed content of Solution to Mysql startup error 1067 under Windows. 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