1.错误原因:修改了mysql的配置文件my.ini。
2.查看错误:
my.ini配置文件的部分代码:
[mysqld]#TheTCP/IPPorttheMySQLServerwilllistenonport=3306#Pathtoinstallationdirectory.Allpathsareusuallyresolvedrelativetothis.basedir="D:/MySQL/"#Pathtothedatabaserootdatadir="C:/DocumentsandSettings/AllUsers/ApplicationData/MySQL/MySQLServer5.1/Data/"
看过之后就去找datadir目录(在C:/DocumentsandSettings/AllUsers/ApplicationData/MySQL/MySQLServer5.1/Data/下),错误日志应该是你的主机名.err。
MySQL数据库启动失败1067进程意外终止怎么解决
找到了错误的原因,解决错误也就相对来说容易多了,我们只需要双击\mysql\bin\MySQLIntanceConfig.exe,重新配置即可解决问题。