安装mysql5.6.17遇到安装意外终止 1067

下载安装mysql5.6.17,按照

http://jingyan.baidu.com/article/597035521d5de28fc00740e6.html

中所示的步骤执行,在运行net start mysql 一直报异常如下:

系统发生 1067 错误。 
进程意外终止。

查看错误日志如下:

2014-05-04 15:00:53 11452 [Note] Plugin 'FEDERATED' is disabled.

MySQL: Table 'mysql.plugin' doesn't exist
2014-05-04 15:00:53 11452 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
2014-05-04 15:00:53 11452 [Note] InnoDB: Using atomics to ref count buffer pool pages
2014-05-04 15:00:53 11452 [Note] InnoDB: The InnoDB memory heap is disabled
2014-05-04 15:00:53 11452 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2014-05-04 15:00:53 11452 [Note] InnoDB: Compressed tables use zlib 1.2.3
2014-05-04 15:00:53 11452 [Note] InnoDB: Not using CPU crc32 instructions
2014-05-04 15:00:53 11452 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2014-05-04 15:00:53 11452 [Note] InnoDB: Completed initialization of buffer pool
2014-05-04 15:00:53 11452 [Note] InnoDB: The first specified data file .\ibdata1 did not exist: a new database to be created!
2014-05-04 15:00:53 11452 [Note] InnoDB: Setting file .\ibdata1 size to 12 MB
2014-05-04 15:00:53 11452 [Note] InnoDB: Database physically writes the file full: wait...
2014-05-04 15:00:54 11452 [Note] InnoDB: Setting log file .\ib_logfile101 size to 48 MB
2014-05-04 15:00:54 11452 [Note] InnoDB: Setting log file .\ib_logfile1 size to 48 MB
2014-05-04 15:00:55 11452 [Note] InnoDB: Renaming log file .\ib_logfile101 to .\ib_logfile0
2014-05-04 15:00:55 11452 [Warning] InnoDB: New log files created, LSN=45781
2014-05-04 15:00:55 11452 [Note] InnoDB: Doublewrite buffer not found: creating new
2014-05-04 15:00:55 11452 [Note] InnoDB: Doublewrite buffer created
2014-05-04 15:00:55 11452 [Note] InnoDB: 128 rollback segment(s) are active.
2014-05-04 15:00:56 11452 [Warning] InnoDB: Creating foreign key constraint system tables.
2014-05-04 15:00:56 11452 [Note] InnoDB: Foreign key constraint system tables created
2014-05-04 15:00:56 11452 [Note] InnoDB: Creating tablespace and datafile system tables.
2014-05-04 15:00:56 11452 [Note] InnoDB: Tablespace and datafile system tables created.
2014-05-04 15:00:56 11452 [Note] InnoDB: Waiting for purge to start
2014-05-04 15:00:57 11452 [Note] InnoDB: 5.6.17 started; log sequence number 0
2014-05-04 15:00:57 11452 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: d7621764-d359-11e3-a50b-b888e38c7530.
2014-05-04 15:00:57 11452 [Note] Server hostname (bind-address): '*'; port: 3306
2014-05-04 15:00:57 11452 [Note] IPv6 is available.
2014-05-04 15:00:57 11452 [Note]   - '::' resolves to '::';
2014-05-04 15:00:57 11452 [Note] Server socket created on IP: '::'.

2014-05-04 15:00:57 11452 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist



这是因为my.ini文件中的datadir是自定义的路径,数据库没有初始化,所以将mysql5.6.17安装路径中的data文件中的所有文件拷贝一份到datadir设置的路径下。ok,问题解决。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值