2017-02-02 4 views
0

Извинения Я новичок в этом, так что чем проще, тем лучше! Мне нужно спасти базу данных Wordpress от поврежденной установки MAMP.MAMP Как я могу спасти свою базу данных MySQL

Это ошибка я получаю в MySQL Войти при попытке и открытый MAMP:

https://codeshare.io/GqPykx

Спасибо за любую помощь !!

K

ответ

0

Вы могли бы начать с применением указанных методов восстановления в известное состояние. Если вам повезло, у вас есть проблема с разрешениями, вам просто нужно исправить файлы хранилища таблиц, если вам не повезло, вы должны восстановить их с резервного диска.

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 ./olivia/wp_term_taxonomy.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. 
InnoDB: 3) If the file system or the disk is broken, and you cannot remove 
InnoDB: the .ibd file, you can set innodb_force_recovery > 0 in my.cnf 
InnoDB: and force InnoDB to continue crash recovery here. 
+0

Любые идеи о том, как я могу исправить проблему с разрешениями в файлах хранения таблиц? Я не знаю, с чего начать .... :( –

+0

Найдите свои файлы таблиц, местоположение зависит от вашей конфигурации. Http://stackoverflow.com/questions/26402884/where-does-mysql-store-data, установите все разрешения для чтения записи выполнить для пользователя вашего веб-сервера. – awiebe