No matter what version of MySQL is installed, an error will be reported midway through the MySQL service started in the management tool.
Content: unable to start MySQL service on local computer error 1067: Process aborted unexpectedly
The solution is as follows:
Find my. INI file, edit the content (if the file does not exist, create a new one), including at least two basic configurations: basedir and datadir.
[Mysqld]
# Set basedir to installation path, e.g., C:/MySQL
# Set it to the MySQL installation directory
Basedir = D:/www/webserver/MySQL
# Set datadir to location of data directory,
# E.g., C:/MySQL/data or D:/mydata/Data
# Set it to the MySQL DATA DIRECTORY
Datadir = D:/www/webserver/MySQL/Data
In addition, you need an idea
[Winmysqladmin]
Server = D:/www/webserver/MySQL/bin/mysqld-nt.exe
User = root
Password = XXXXXXXX
# The above is the configuration for setting winmysqladmin
[Client]
User = root
Password = XXXXXXXX
PS:
In fact, there is only one reason why my cannot be found. INI. If you have installed D: \ mysql, modify the directory according to your needs. change the file ending with the INI file to my. INI can be started.