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
Four network types: None: Do not configure any ne...
Since Zabbix version 3.0, it has supported encryp...
1: Installation command pip install docker-compos...
If you think the system is slow and want to chang...
Preface BINARY and VARBINARY are somewhat similar...
Table of contents Vue CLI builds a Vue project Vu...
1. Overview I searched a lot online and found tha...
Win10 installation (skip if already installed) Fo...
As a powerful editor with rich options, Vim is lo...
Today, I fell into the trap again. I have encount...
The solutions to the problems encountered during x...
Create a database Right click - Create a new data...
Page directory structure Note that you need to mo...
The main configuration file of Nginx is nginx.con...
Using the official MySQL image requires some modi...