wamp-Server stürzt nach dem Start von phpMyAdmin ab

475
Jolie Anton

Ich arbeitete über einen Monat mit Wamp-Server und alles war großartig.

Vor kurzem hatte ich einige chinesische Viren, die mich veranlassten, einige Maßnahmen zu ergreifen, einschließlich des Löschens aus der Registrierung. Als ich versuchte, mich mit meinem Wamp-Server zu verbinden, wurde er grün, und nachdem ich mich beim phpMyAdmin angemeldet hatte, bekam ich eine Fehlermeldung.

mysqli_real_connect(): (HY000/2002): No connection could be made because the target machine actively refused it. 

Dies ist mein Apache-Fehlerprotokoll:

[Thu Nov 24 14:06:25.908515 2016] [auth_digest:notice] [pid 2464:tid 576] AH01757: generating secret for digest authentication ... [Thu Nov 24 14:06:25.971016 2016] [mpm_winnt:notice] [pid 2464:tid 576] AH00455: Apache/2.4.23 (Win64) PHP/5.6.25 configured -- resuming normal operations [Thu Nov 24 14:06:25.971016 2016] [mpm_winnt:notice] [pid 2464:tid 576] AH00456: Apache Lounge VC14 Server built: Jul 1 2016 11:43:51 [Thu Nov 24 14:06:25.971016 2016] [core:notice] [pid 2464:tid 576] AH00094: Command line: 'c:\\wamp64\\bin\\apache\\apache2.4.23\\bin\\httpd.exe -d C:/wamp64/bin/apache/apache2.4.23' [Thu Nov 24 14:06:26.002265 2016] [mpm_winnt:notice] [pid 2464:tid 576] AH00418: Parent: Created child process 6844 [Thu Nov 24 14:06:27.002269 2016] [auth_digest:notice] [pid 6844:tid 464] AH01757: generating secret for digest authentication ... [Thu Nov 24 14:06:27.049144 2016] [mpm_winnt:notice] [pid 6844:tid 464] AH00354: Child: Starting 64 worker threads. [Thu Nov 24 14:14:09.243534 2016] [mpm_winnt:notice] [pid 2464:tid 576] AH00422: Parent: Received shutdown signal -- Shutting down the server. [Thu Nov 24 14:14:11.255647 2016] [mpm_winnt:notice] [pid 6844:tid 464] AH00364: Child: All worker threads have exited. [Thu Nov 24 14:14:11.291651 2016] [mpm_winnt:notice] [pid 2464:tid 576] AH00430: Parent: Child process 6844 exited successfully. [Thu Nov 24 14:14:12.192703 2016] [auth_digest:notice] [pid 3084:tid 580] AH01757: generating secret for digest authentication ... [Thu Nov 24 14:14:12.239706 2016] [mpm_winnt:notice] [pid 3084:tid 580] AH00455: Apache/2.4.23 (Win64) PHP/5.6.25 configured -- resuming normal operations [Thu Nov 24 14:14:12.239706 2016] [mpm_winnt:notice] [pid 3084:tid 580] AH00456: Apache Lounge VC14 Server built: Jul 1 2016 11:43:51 [Thu Nov 24 14:14:12.239706 2016] [core:notice] [pid 3084:tid 580] AH00094: Command line: 'c:\\wamp64\\bin\\apache\\apache2.4.23\\bin\\httpd.exe -d C:/wamp64/bin/apache/apache2.4.23' [Thu Nov 24 14:14:12.242706 2016] [mpm_winnt:notice] [pid 3084:tid 580] AH00418: Parent: Created child process 6848 [Thu Nov 24 14:14:12.950746 2016] [auth_digest:notice] [pid 6848:tid 408] AH01757: generating secret for digest authentication ... [Thu Nov 24 14:14:12.992750 2016] [mpm_winnt:notice] [pid 6848:tid 408] AH00354: Child: Starting 64 worker threads. 

PHP-Fehlerprotokoll

[24-Nov-2016 12:06:24 UTC] No error - Only to create the file [24-Nov-2016 12:08:05 UTC] PHP Warning: mysqli_connect(): (HY000/2002): No connection could be made because the target machine actively refused it.  in C:\wamp64\www\dbconnect.php on line 7  [24-Nov-2016 12:08:05 UTC] PHP Stack trace:  [24-Nov-2016 12:08:05 UTC] PHP 1. () C:\wamp64\www\index.php:0  [24-Nov-2016 12:08:05 UTC] PHP 2. include() C:\wamp64\www\index.php:3  [24-Nov-2016 12:08:05 UTC] PHP 3. include() C:\wamp64\www\home.php:8  [24-Nov-2016 12:08:05 UTC] PHP 4. mysqli_connect() C:\wamp64\www\dbconnect.php:7  [24-Nov-2016 12:18:30 UTC] PHP Warning: mysqli_connect(): (HY000/2002): No connection could be made because the target machine actively refused it.  in C:\wamp64\www\dbconnect.php on line 7  [24-Nov-2016 12:18:30 UTC] PHP Stack trace:  [24-Nov-2016 12:18:30 UTC] PHP 1. () C:\wamp64\www\branch.php:0  [24-Nov-2016 12:18:30 UTC] PHP 2. include_once() C:\wamp64\www\branch.php:3  [24-Nov-2016 12:18:30 UTC] PHP 3. include() C:\wamp64\www\home.php:8  [24-Nov-2016 12:18:30 UTC] PHP 4. mysqli_connect() C:\wamp64\www\dbconnect.php:7 

Was kann ich machen?

Ich habe versucht, meinen Wamp-Server neu zu installieren.

Vielen Dank!

0
Ihr Apache-Log hat nicht wirklich etwas Nützliches. Schauen Sie sich das PHP-Fehlerprotokoll an, und wahrscheinlich ist die Datenbank (MySQL) nicht aktiv oder akzeptiert die Verbindung nicht. Schauen Sie sich auch diese Protokolle an. Seth vor 7 Jahren 0
Ist es jetzt ok..? Jolie Anton vor 7 Jahren 0
Sie können sehen, dass der Fehler von `dbconnect.php` ausgelöst wird. Haben Sie überprüft, wann MySQL läuft? Können Sie ein Direktverbindungstool wie MySQL Workbench oder die Befehlszeilenschnittstelle `mysql` verwenden, um eine Verbindung zur Datenbank herzustellen? Seth vor 7 Jahren 0

0 Antworten auf die Frage