Mac xampp mysql Attempted to open a previously opened tablespace
来源:互联网 发布:tensorflow入门教程 编辑:程序博客网 时间:2024/06/05 02:35
2017-01-25 10:10:16 1434 [ERROR] InnoDB: Attempted to open a previously opened tablespace. Previous tablespace FoodDiet/diet_uuid_change uses space ID: 39 at filepath: ./FoodDiet/diet_uuid_change.ibd. Cannot open tablespace FoodDiet0116bak/diet_charge which uses space ID: 39 at filepath: ./FoodDiet0116bak/diet_charge.ibd
2017-01-25 10:10:16 7fff7d40c300 InnoDB: Operating system error number 2 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.
InnoDB: Error: could not open single-table tablespace file ./FoodDiet0116bak/diet_charge.ibd
InnoDB: We do not continue the crash recovery, because the table may become
InnoDB: corrupt if we cannot apply the log records in the InnoDB log to it.
InnoDB: To fix the problem and start mysqld:
InnoDB: 1) If there is a permission problem in the file and mysqld cannot
InnoDB: open the file, you should modify the permissions.
InnoDB: 2) If the table is not needed, or you can restore it from a backup,
InnoDB: then you can remove the .ibd file, and InnoDB will do a normal
InnoDB: crash recovery and ignore that table.
我用的是XAMPP 1.83,今天终于找到解决办法了
在/Application/XAMPP/xamppfiles/etc/下面的my.cnf中添加
innodb_force_recovery = 1
问题解决了
- Mac xampp mysql Attempted to open a previously opened tablespace
- 出现illegally attempted to associate a proxy with two open Sessions异常
- springmvc 删除数据时报错:illegally attempted to associate a proxy with two open Sessions
- Hibernate的merge方法-illegally attempted to associate a proxy with two open Sessions
- 异常笔记(3)--illegally attempted to associate a proxy with two open Sessions
- Tensorflow: How to restore a previously saved model (python)
- spring整合hibernate使用update方法时出现 illegally attempted to associate a proxy with two open Sessions
- Mac 下MAMP Pro MySQL无法启动报 Error: could not open single-table tablespace file ./mysql/innodb_table_sta
- RuntimeError: Attempted to use a closed Session.
- The application **** has attempted to open a connection to a location inside the firewall and outside the firewall which is not
- mac xampp mysql启动不了
- Xampp linux,Xampp mac,Xampp mysql,Xampp中文版,Xampp 64位
- MAC XAMPP搭建php开发环境,上传图片 move_uploaded_file出现错误 failed to open stream: Permission denied
- mac 安装xampp mysql无法启动问题
- MAC下的XAMPP启动不了mysql
- mac XAMPP mysql 遇到的问题
- 解决mac上xampp mysql启动问题
- Mac下xampp无法启动mysql?
- Centos7 freeradius3 整合 openldap
- javascript实现数字英文验证码源码
- 深度强化学习:从像素玩Pong!
- c++中输出浮点数
- 【Spring-web】AsyncRestTemplate源码学习
- Mac xampp mysql Attempted to open a previously opened tablespace
- React Native自定义标题栏组件
- 编程珠玑: 12章 取样问题 12.3设计空间,程序的输入包含两个整数m和n,其中m<n。输出是0~n-1范围内m个随机整数的有序列表,不允许重复。 解法2-------解题总结
- 舞步学院是不是很操蛋?
- 【人脸检测】Adaboost+Haar目录
- oracle实现"limit"功能
- mybatis高级结果映射学习之一对一映射(六)
- Squid 启动/停止/重载配置文件 命令
- 【认证】中国联通家庭宽带多媒体应用业务平台技术规范