mysql启动失败 1067进程意外终止

来源:互联网 发布:广电网络是什么单位 编辑:程序博客网 时间:2024/05/21 07:13

1,错误原因:修改了mysql的配置文件my.ini

2,查看错误:

my.ini配置文件的部分代码:

[mysqld]  # The TCP/IP Port the MySQL Server will listen on  port=3306    #Path to installation directory. All paths are usually resolved relative to this.  basedir="D:/MySQL/"    #Path to the database root  datadir="C:/Documents and Settings/All Users/Application Data/MySQL/MySQL Server 5.1/Data/" 

看过之后就去找datadir目录(在C:/Documents and Settings/All Users/Application Data/MySQL/MySQL Server 5.1/Data/下),错误日志应该是你的主机名.err 

3,解决方案:重新配置,双击\mysql\bin\MySQLIntanceConfig.exe

原创粉丝点击