>데이터 베이스 >MySQL 튜토리얼 >配置文件-mysql非安装版无法启动 报1067错误

配置文件-mysql非安装版无法启动 报1067错误

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB원래의
2016-06-06 09:44:581208검색

配置文件mysql

在网上查说是配置文件的事。
my.ini复制自my_small.ini。
只增加了
mysql字段
basedir = D:/mysql-5.5.24-winx64
datadir = D:/mysql-5.5.24-winx64/data
character-set-server=utf8
client字段
default-character-set = utf8

另外在安装时候cmd使用管理员身份启动的。是不是这个有影响???

错误日志:
140217 9:59:30 [Note] Plugin 'FEDERATED' is disabled.
140217 9:59:30 InnoDB: The InnoDB memory heap is disabled
140217 9:59:30 InnoDB: Mutexes and rw_locks use Windows interlocked functions
140217 9:59:30 InnoDB: Compressed tables use zlib 1.2.3
140217 9:59:30 InnoDB: Initializing buffer pool, size = 128.0M
140217 9:59:30 InnoDB: Completed initialization of buffer pool
InnoDB: The first specified data file .\ibdata1 did not exist:
InnoDB: a new database to be created!
140217 9:59:30 InnoDB: Setting file .\ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
140217 9:59:30 InnoDB: Log file .\ib_logfile0 did not exist: new to be created
InnoDB: Setting log file .\ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
140217 9:59:30 InnoDB: Log file .\ib_logfile1 did not exist: new to be created
InnoDB: Setting log file .\ib_logfile1 size to 5 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: 127 rollback segment(s) active.
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
140217 9:59:31 InnoDB: Waiting for the background threads to start
140217 9:59:32 InnoDB: 1.1.8 started; log sequence number 0
140217 9:59:32 [ERROR] MySQL: unknown variable 'default-character-set=gbk'
140217 9:59:32 [ERROR] Aborting

140217 9:59:32 InnoDB: Starting shutdown...
140217 9:59:33 InnoDB: Shutdown completed; log sequence number 1595675
140217 9:59:33 [Note] MySQL: Shutdown complete

各种查资料各种解决不了。求大神帮忙。
附加:很神奇的是为什么会有 unknown variable 'default-character-set=gbk'
我根本就没有设置default-character-set=gbk,设置了default-character-set=tutf8也还是这个错误。

성명:
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.