MySql 版本:5.5.24
注意: 每次我复制旧的“数据”文件夹时,MySql 服务都会停止并将 Wamp 图标从绿色变为橙色。
我尝试过但没有运气的解决方案:
ETC..
之前,我收到错误 #2002
服务器没有响应(或本地 MySQL 服务器的套接字未正确配置)
我确实尝试搜索并应用了一些解决方案,但仍然没有运气。我仍然无法访问 PhpMyadmin。我可以看到 wampserver 图标不是绿色,而是橙色,因为 MySql 没有运行。
几天后,我重新安装了我的 wampserver(相同版本)并且 phpmyadmin 工作.. 但是当我复制 mysql 数据文件夹和文件(ibdata1、iblogfile0 和 iblogfile1)并重新启动服务时,我又回到了我的问题 #2002。
我的问题:
我想创建我的数据库的 sql 转储,但我无法访问我的 phpmyadmin,因为 MySql 服务没有运行
问题:
- 如何通过仅复制必要的文件夹或文件将 MySql 数据库从 wampserver 数据恢复到新安装?
- 如果#1 是不可能的,有没有办法通过控制台或任何东西创建一个sql 转储而不去 phpmyadmin?
笔记:
- 在重新安装服务器之前,我对原始文件夹 wamp 进行了完整备份。
- 我没有要恢复的旧 sql 转储。
MySQL 日志:
141209 21:54:40 [Note] Plugin 'FEDERATED' is disabled.
141209 21:54:40 InnoDB: The InnoDB memory heap is disabled
141209 21:54:40 InnoDB: Mutexes and rw_locks use Windows interlocked functions
141209 21:54:40 InnoDB: Compressed tables use zlib 1.2.3
141209 21:54:40 InnoDB: Initializing buffer pool, size = 128.0M
141209 21:54:40 InnoDB: Completed initialization of buffer pool
141209 21:54:40 InnoDB: highest supported file format is Barracuda.
InnoDB: Log scan progressed past the checkpoint lsn 52664174
141209 21:54:40 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
InnoDB: buffer...
InnoDB: Doing recovery: scanned up to log sequence number 56879679
141209 21:54:41 InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percents: 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
InnoDB: Apply batch completed
InnoDB: Last MySQL binlog file position 0 2383366, file name .\mysql-bin.000115
141209 21:54:42 InnoDB: Waiting for the background threads to start
141209 21:54:43 InnoDB: Assertion failure in thread 636 in file fut0lst.ic line 83
InnoDB: Failing assertion: addr.page == FIL_NULL || addr.boffset >= FIL_PAGE_DATA
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to http://bugs.mysql.com.
InnoDB: If you get repeated assertion failures or crashes, even
InnoDB: immediately after the mysqld startup, there may be
InnoDB: corruption in the InnoDB tablespace. Please refer to
InnoDB: http://dev.mysql.com/doc/refman/5.5/en/forcing-innodb-recovery.html
InnoDB: about forcing recovery.
141209 21:54:43 InnoDB: 1.1.8 started; log sequence number 56879679
InnoDB: Thread 5328 stopped in file ibuf0ibuf.c line 3165