服务启动mysql老是出现错误1067:进程意外终止?
(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,便出现错误1067:进程意外终止