蓝鲸blue 2014-02-17 02:08 采纳率: 0%
浏览 2693

mysql非安装版无法启动 报1067错误

在网上查说是配置文件的事。
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也还是这个错误。

  • 写回答

1条回答

  • 蓝鲸blue 2014-03-05 09:30
    关注

    真的是my.ini的问题。
    我一直在研究安装目录下的my.ini。没想到C:/windows底下还藏了一个。。。。

    评论

报告相同问题?

悬赏问题

  • ¥15 为什么使用javacv转封装rtsp为rtmp时出现如下问题:[h264 @ 000000004faf7500]no frame?
  • ¥15 乘性高斯噪声在深度学习网络中的应用
  • ¥15 运筹学排序问题中的在线排序
  • ¥15 关于docker部署flink集成hadoop的yarn,请教个问题 flink启动yarn-session.sh连不上hadoop,这个整了好几天一直不行,求帮忙看一下怎么解决
  • ¥30 求一段fortran代码用IVF编译运行的结果
  • ¥15 深度学习根据CNN网络模型,搭建BP模型并训练MNIST数据集
  • ¥15 C++ 头文件/宏冲突问题解决
  • ¥15 用comsol模拟大气湍流通过底部加热(温度不同)的腔体
  • ¥50 安卓adb backup备份子用户应用数据失败
  • ¥20 有人能用聚类分析帮我分析一下文本内容嘛