The following articles mainly describe the correct solution that MySQL service cannot start in actual operations. If you encounter similar situations in actual operations, however, you do not know how to solve the problem correctly, so the following articles must be good teachers and friends for you.
The installation of mysqland winmysqladmin.exe cannot be started. When the MySQL service is started in the management tool service, an error is reported midway through. The content is: MySQL service cannot be started on the local computer. Error 1067: the process is aborted unexpectedly.
Cause: the my. ini file is not found. This file should be in the C: \ Windows directory.
Solution: Find the my. ini file in the System Directory, which may be C: \ Winnt or C: \ windows. If the file does not exist, create a new one.) Add the following content.
The my. ini file can be found in the C: \ Documents ents and Settings \ lbq \ WINDOWS directory, but cannot be found in the system directory. After copying it, you can.
- [mysqld]
- # set basedir to installation path, e.g., c:/mysql
- basedir=D:/www/MySQL
- # set datadir to location of data directory,
- # e.g., c:/mysql/data or d:/mydata/data
- datadir=D:/www/MySQL/data
This is done.
The above content is an introduction to the solutions that cannot be started for MySQL services. I hope you will find some gains.