No matter what version of MySQL is installed, the MySQL service starts in the service of the Admin tool and the error occurs halfway through. Content is: Unable to start MySQL service on local computer error 1067: Process aborted unexpectedly.
After a variety of advice, we have to solve the following methods
Look for the My.ini file in the system (which later verifies that it should be the Windows directory), edit the content (create a new one if there is no file), and include at least basedir,datadir two basic configurations.
[Mysqld]
# set Basedir to installation path, e.g., c:/mysql
# set to 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 to MySQL data directory
Datadir=d:/www/webserver/mysql/data
In addition, the idea
[Winmysqladmin]
Server=d:/www/webserver/mysql/bin/mysqld-nt.exe
User=root
Password=xxxxxxxx
#以上是设置WinMySQLadmin的配置
[Client]
User=root
Password=xxxxxxxx
hehe~:) Solved the
The contents of the My.ini file are as follows. I changed it myself, just fine, hey.
[Mysqld]
# set Basedir to installation path, e.g., d:/mysql
# set to MySQL installation directory
Basedir=d:/mysql
# set DataDir to location of data directory,
# e.g., D:/mysql/data or D:/mysql/mydata/data
# set to MySQL data directory
Datadir=d:/mysql/data