songww2009
songww2009
2010-04-02 23:45
浏览 313
已采纳

急救 服务启动mysql老是出现错误1067:进程意外终止?

在用myeclipse开发bbs项目中由于害怕出现mysql的乱码问题,在my.ini中修改了一些代码:
(1)[mysql]
default-character-set=latin1代码块中改成了
[mysql]
default-character-set=GBK

(2)[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="C:/Program Files/MySQL/MySQL Server 5.1/"
#Path to the database root
datadir="C:/ProgramData/MySQL/MySQL Server 5.1/Data/"

The default character set that will be used when a new schema or table is

created and no character set is defined

default-character-set=latin1代码块中改成了
[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="C:/Program Files/MySQL/MySQL Server 5.1/"
#Path to the database root
datadir="C:/ProgramData/MySQL/MySQL Server 5.1/Data/"

The default character set that will be used when a new schema or table is

created and no character set is defined

default-character-set=utf8

然后打开命令行窗口MySQL Command Line Client输入密码后出现错误,窗口一闪就消失了,

然后启动电脑服务,启动mysql,便出现[color=red][b]错误1067:进程意外终止[/b][/color]

[img]http://dl.iteye.com/upload/attachment/228807/0286bd30-65fc-3488-9eee-017376e7121c.jpg[/img]

然后重装了几次mysql,问题依然不能解决。百度也找了很久,试了很多方法,都行不通。

希望各位大侠能帮助小弟脱离苦海。。。

感激不尽!!! :cry:

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

2条回答 默认 最新

  • zxtzxz
    zxtzxz 2010-04-03 09:20
    已采纳
    点赞 评论
  • iteye_13500
    iteye_13500 2010-04-03 08:22

    改成

    [code="java"]default-character-set=utf-8 [/code]

    点赞 评论

相关推荐