Suddenly when I logged into MySQL, it said that access was denied or I could not connect to the database. I went back to the service and opened wampmysqld, but found that "Windows cannot start the MySQL service error 1067". I couldn't start it no matter what. What should I do? Shrimp fry, let me share my experience with you! Method 1: 1. Open the my.ini file, find the line default-storage-engine=InnoDB, and change it to default-storage-engine=MyISAM. According to the my.ini file: 4. Restart MySQL Service Method 2: When I reinstalled MySQL, it kept prompting "Unable to start MYSQL service, error 1067 The process terminated unexpectedly. Restarting and repairing the registry did not help. I checked online and changed basedir, but it did not work. I am using MySQL 5.8. After searching for a long time, I remembered that I had installed integrated environments such as wampserver and pc_webserver before. These software will write my.ini and php.ini to the C:WINDOWS directory and set them to read-only. Solution: Delete the my.ini file in the windows directory. Method 3: 1. Execute winmysqladmin to generate the my.ini file 2.mysqld -install starts the mysql service 3. net start mysql starts the mysql service and displays normal. When connecting through mysql -u root -p, it reports an error that the server is not started. Checking the server service, it is indeed that the mysql service is not started. Manual startup generates error 1067. I have reinstalled mysql several times, but the error still exists. Check that there are no errors in each configuration. The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM. You may also be interested in:
|
<<: Answer the caching principle of keep-alive components from the perspective of source code
>>: WeChat applet Amap multi-point route planning process example detailed explanation
Use CSS3 to animate the input box similar to the ...
Since the standard ab only supports stress testin...
1. Add alternative text to your logo This has two...
1. Background of the incident: Because of work ne...
Data URI Data URI is a scheme defined by RFC 2397...
introduction Have you ever encountered a situatio...
This article shares the specific code for JavaScr...
Sometimes it is slow to download large network fi...
I suddenly thought of this method when I was writi...
Installing Electron cnpm install electron -g Inst...
1. Packaging Vue project Enter the following name...
The first step is to add the corresponding databa...
What is load balancing? When a domain name points...
Three ways to introduce CSS 1. Inline styles Adva...
Table of contents Let's talk about flattening...