Chinaunix首页 | 论坛 | 博客
  • 博客访问: 485291
  • 博文数量: 66
  • 博客积分: 2125
  • 博客等级: 大尉
  • 技术积分: 704
  • 用 户 组: 普通用户
  • 注册时间: 2005-03-08 13:42
个人简介

空气中的尘埃

文章分类

全部博文(66)

文章存档

2019年(1)

2017年(4)

2016年(2)

2015年(4)

2014年(4)

2013年(2)

2012年(5)

2011年(6)

2010年(9)

2009年(8)

2008年(12)

2007年(6)

2006年(2)

2005年(1)

我的朋友

分类: Mysql/postgreSQL

2014-06-21 17:19:17

 

虚拟机拷贝后, maridb10 服务无法启动出现如下错误

140621 12:42:26 [Note] InnoDB: The InnoDB memory heap is disabled
140621 12:42:26 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
140621 12:42:26 [Note] InnoDB: Compressed tables use zlib 1.2.3
140621 12:42:26 [Note] InnoDB: CPU does not support crc32 instructions
140621 12:42:26 [Note] InnoDB: Initializing buffer pool, size = 128.0M
140621 12:42:26 [Note] InnoDB: Completed initialization of buffer pool
140621 12:42:26 [ERROR] InnoDB: read can't be opened in .\ibdata1 mode
140621 12:42:26 [ERROR] InnoDB: The system tablespace must be writable!
140621 12:42:26 [ERROR] Plugin 'InnoDB' init function returned error.
140621 12:42:26 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
140621 12:42:26 [ERROR] mysqld.exe: File 'd:\mariadb-10.0.6-win32\db\aria_log_control' not found (Errcode: 13 "Permission denied")
140621 12:42:26 [ERROR] mysqld.exe: Got error 'Can't open file' when trying to use aria control file 'd:\mariadb-10.0.6-win32\db\aria_log_control'
140621 12:42:26 [ERROR] Plugin 'Aria' init function returned error.
140621 12:42:26 [ERROR] Plugin 'Aria' registration as a STORAGE ENGINE failed.
140621 12:42:26 [Note] Plugin 'FEEDBACK' is disabled.
140621 12:42:26 [ERROR] Unknown/unsupported storage engine: InnoDB
140621 12:42:26 [ERROR] Aborting

使用mysqld remove ,然后重新添加 mysqld --install mysql --defaults-file="d:\mariadb-10.0.6-win32\db\my.ini" 仍然出错
删除 ..\db\ib_logfile  同样出错

使用 mysql_install_db.exe --datadir=d:\mariadb-10.0.6-win32\db --service=mydb --password=infosea 

解决问题

 

D:\mariadb-10.0.6-win32\bin>net start mysql
The mysql service is starting...
The mysql service could not be started.

A system error has occurred.

System error 1067 has occurred.

The process terminated unexpectedly.


D:\mariadb-10.0.6-win32\bin>del ..\db\ib_logfile0

D:\mariadb-10.0.6-win32\bin>del ..\db\ib_logfile1

D:\mariadb-10.0.6-win32\bin>net start mysql
The mysql service is starting...
The mysql service could not be started.

A system error has occurred.

System error 1067 has occurred.

The process terminated unexpectedly.


D:\mariadb-10.0.6-win32\bin>mysql_install_db.exe --datadir=d:\mariadb-10.0.6-win
32\db --service=mydb --password=infosea
Running bootstrap
Removing default user
Setting root password
Creating my.ini file
Registering service 'mydb'
Creation of the database was successfull
D:\mariadb-10.0.6-win32\bin>net start mydb
The mydb service is starting.
The mydb service was started successfully.


D:\mariadb-10.0.6-win32\bin>

阅读(9834) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~