mysql 服务无法启动

win7环境下mysql5卸载后服务安装不上又出现mysql server无法启动的问题:

D:\PHP\MySQL Server 5.6\bin>net start mysql
MySQL 服务正在启动 .
MySQL 服务无法启动。

系统出错。

发生系统错误 1067。

进程意外终止。

mysql错误日志:

2013-07-29 10:58:03 a10 InnoDB: File name D:\PHP\MySQL Server 5.5\ibdata1
2013-07-29 10:58:03 a10 InnoDB: File operation call: 'create' returned OS error 103.
2013-07-29 10:58:03 a10 InnoDB: Cannot continue operation.
2013-07-29 11:20:48 1776 [Note] Plugin 'FEDERATED' is disabled.
2013-07-29 11:20:48 804 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
2013-07-29 11:20:48 1776 [Note] InnoDB: The InnoDB memory heap is disabled
2013-07-29 11:20:48 1776 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2013-07-29 11:20:48 1776 [Note] InnoDB: Compressed tables use zlib 1.2.3
2013-07-29 11:20:48 1776 [Note] InnoDB: Not using CPU crc32 instructions
2013-07-29 11:20:48 1776 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2013-07-29 11:20:48 1776 [Note] InnoDB: Completed initialization of buffer pool
2013-07-29 11:20:48 804 InnoDB: Operating system error number 3 in a file operation.
InnoDB: The error means the system cannot find the path specified.
InnoDB: If you are installing InnoDB, remember that you must create
InnoDB: directories yourself, InnoDB does not create them.
2013-07-29 11:20:48 804 InnoDB: File name D:\PHP\MySQL Server 5.5\ibdata1
2013-07-29 11:20:48 804 InnoDB: File operation call: 'create' returned OS error 103.
2013-07-29 11:20:48 804 InnoDB: Cannot continue operation.


但是,我的MySQL安装目录中没有ibdata1目录或文件……

针对以上错误报告,都有哪些原因造成?如何解决?
...全文
444 3 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
rucypli 2013-07-29
  • 打赏
  • 举报
回复
搜my.ini文件 然后删除 都用默认的
  • 打赏
  • 举报
回复
总算弄出来了:

D:\PHP\MySQL Server 5.6\bin>mysql_config_editor.exe set -u root -p
  • 打赏
  • 举报
回复
感谢楼上建议,确实有多个my.ini冲突了。 但是现在mysql server启动后,没有mysql表:

D:\PHP\MySQL Server 5.6\bin>mysql
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.6.12 MySQL Community Server (GPL)

Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| test               |
+--------------------+
2 rows in set (0.08 sec)
如何加载数据表?

56,940

社区成员

发帖
与我相关
我的任务
社区描述
MySQL相关内容讨论专区
社区管理员
  • MySQL
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧