/ / WAMP serwer pomarańczowy po niewłaściwym zamknięciu - php, mysql, wamp

Serwer WAMP pomarańczowy po niewłaściwym wyłączeniu - php, mysql, wamp

Mój komputer wyłączył się z powodu utraty zasilaniapodczas gdy serwer wamp jest uruchomiony, teraz, gdy próbuję włączyć serwer, pozostaje pomarańczowy żądania HTTP do serwera działają, ale gdy próbuję się zalogować do MySQl, pojawia się następujący błąd:

#2002 Cannot log in to the MySQL server

Zrobiłem kilka poszukiwań i wszystkie wyniki byłyaby go usunąć i zainstalować ponownie, czy jest jakiś inny sposób? Nadal jestem początkujący, więc nie wiem, jakie pliki muszę ci pokazać, aby pomóc mi w komentarzu do wszystkiego, co muszę pokazać.

Moja ostatnia próba logowania w dzienniku mysql:

2015-11-11 11:08:03 8052 [Note] Plugin "FEDERATED" is disabled.
2015-11-11 11:08:03 8052 [Note] InnoDB: The InnoDB memory heap is disabled
2015-11-11 11:08:03 8052 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2015-11-11 11:08:03 8052 [Note] InnoDB: Compressed tables use zlib 1.2.3
2015-11-11 11:08:03 8052 [Note] InnoDB: Not using CPU crc32 instructions
2015-11-11 11:08:03 8052 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2015-11-11 11:08:03 8052 [Note] InnoDB: Completed initialization of buffer pool
2015-11-11 11:08:03 8052 [Note] InnoDB: Highest supported file format is Barracuda.
2015-11-11 11:08:03 8052 [Note] InnoDB: The log sequence numbers 2671283 and 2671283 in ibdata files do not match the log sequence number 2671293 in the ib_logfiles!
2015-11-11 11:08:03 8052 [Note] InnoDB: Database was not shutdown normally!
2015-11-11 11:08:03 8052 [Note] InnoDB: Starting crash recovery.
2015-11-11 11:08:03 8052 [Note] InnoDB: Reading tablespace information from the .ibd files...
2015-11-11 11:08:03 8052 [ERROR] InnoDB: Attempted to open a previously opened tablespace. Previous tablespace coldatabase/item uses space ID: 3 at filepath: .coldatabaseitem.ibd. Cannot open tablespace mysql/slave_relay_log_info which uses space ID: 3 at filepath: .mysqlslave_relay_log_info.ibd
InnoDB: Error: could not open single-table tablespace file .mysqlslave_relay_log_info.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.

Odpowiedzi:

0 dla odpowiedzi № 1

Miałem podobne problemy i rozwiązałem je dwiema metodami i wspominam o lepszej z nich.

  1. skopiuj folder c: wamp do innej bezpiecznej lokalizacji
  2. niech oryginalny folder c: wamp pozostanie na swoim miejscu
  3. zainstaluj serwer wamp z tego samego pakietu, którego używałeś wcześniej
  4. uruchom serwer Wamp
  5. GOTOWE...!!!

(Kopia folderu c: wamp do innej bezpiecznej lokalizacji była tylko na wypadek sytuacji awaryjnej, na wypadek gdyby coś poszło nie tak).