mysql的my.ini文件被修改,无法启动问题,错误编号1067

中午安装了泽众的TC测试软件之后,电脑上本来安装的mysql忽然启动不了了,查看了错误日志才发现是my.ini文件被修改的缘故。

错误日志如下:

141229 21:25:29  InnoDB: Waiting for the background threads to start
141229 21:25:30 InnoDB: 1.1.8 started; log sequence number 1595675
141229 21:25:30 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
141229 21:25:30 [Note]   - '0.0.0.0' resolves to '0.0.0.0';
141229 21:25:30 [Note] Server socket created on IP: '0.0.0.0'.
141229 21:25:30 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
141229 21:32:12 [Note] Plugin 'FEDERATED' is disabled.
141229 21:32:12 InnoDB: The InnoDB memory heap is disabled
141229 21:32:12 InnoDB: Mutexes and rw_locks use Windows interlocked functions
141229 21:32:12 InnoDB: Compressed tables use zlib 1.2.3
141229 21:32:12 InnoDB: Initializing buffer pool, size = 43.0M
141229 21:32:12 InnoDB: Completed initialization of buffer pool
141229 21:32:13 InnoDB: highest supported file format is Barracuda.
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
141229 21:32:13  InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite


在网上搜索之后才找到解决办法,解决办法如下:

打开mysql\bin\my.ini,查找[mysqld],在[mysqld]下面添加一行文字,
skip-grant-tables
即:
[mysqld]
skip-grant-tables
至此我的mysql无法启动问题就解决了!

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值