MySQL startet nicht

Alles, was MariaDB und MySQL betrifft, kann hier besprochen werden.

MySQL startet nicht

Postby Dolan » 09. August 2015 17:56

Hallo zusammen,

ich habe das Problem, dass MySql sich nicht über XAMPP starten lässst. Ich habe mir bereits diverse andere Threats durchgelesen in denen es scheinbar ähnliche Probleme gibt, allerdings kann ich mit den oft relativ kurzen Antworten nicht viel anfangen, da ich ein absoluter Anfänger bei der Erstellung / Verwendung von Datenbanken bin.

Ich habe XAMPP 5.6.11 / Controll Panel 3.2.1 auf Win10 installiert. Das System ist also erst wenige Tage alt und es handelt sich um die Erstinstallation.
Ich möchte nun einen Localhost Server erstellen um später über ein VB Skript Daten automatisiert abzufragen. Soweit, so einfach.

Im XAMPP Control Panel klicke ich auf 'Start' (MySQL) und der Server wird scheinbar gestartet (PID: 5828, Port:3306).
Wenn ich dann auf 'Admin' klicke, öffnet sich Firefox "http://localhost/phpmyadmin/", mit der Meldung "Fehler: Verbindung fehlgeschlagen. Firefox kann keine Verbindung zu dem Server unter localhost aufbauen."

Ich habe jetzt in mehreren Foren und Threats gelesen, dass User scheinbar die selben Symptome haben, was auf einen blockierten Port (zb. durch Skype), ein nicht installiertes PHPMyAdmin, Windows Firewall, oder irgendwelchen alten Konfigurationsdateien von alten Installationen zurückzuführen sei. Wirklich durchblicken tu ich da nicht.
Wenn ich unter Netstat nachgucke, so ist bei Port 3306 nur mysqld.exe aufgeführt, sonst nichts.
Die ganze Angelegenheit ohne Firewall zu starten, wie es mal irgendwo irgendjemand empfohlen hat, bringt ebenfalls nichts.
PHPMyAdmin wurde in der XAMPP Installation als zu installierende Komponente aufgeführt und ein entsprechender Unterordner ist in XAMPP vorhanden (aber kein PHPMyAmin Startmenüeintrag oder sowas ?)

Hier ist die bis Dato angelegte mysql.error.log:

Code: Select all
2015-08-09 15:13:33 1896 [Note] Plugin 'FEDERATED' is disabled.
2015-08-09 15:13:33 1f58 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
2015-08-09 15:13:33 1896 [Note] InnoDB: Using atomics to ref count buffer pool pages
2015-08-09 15:13:33 1896 [Note] InnoDB: The InnoDB memory heap is disabled
2015-08-09 15:13:33 1896 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2015-08-09 15:13:33 1896 [Note] InnoDB: Memory barrier is not used
2015-08-09 15:13:33 1896 [Note] InnoDB: Compressed tables use zlib 1.2.3
2015-08-09 15:13:33 1896 [Note] InnoDB: Not using CPU crc32 instructions
2015-08-09 15:13:33 1896 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2015-08-09 15:13:33 1896 [Note] InnoDB: Completed initialization of buffer pool
2015-08-09 15:13:33 1896 [Note] InnoDB: Highest supported file format is Barracuda.
2015-08-09 15:13:33 1896 [Note] InnoDB: 128 rollback segment(s) are active.
2015-08-09 15:13:33 1896 [Note] InnoDB: Waiting for purge to start
2015-08-09 15:13:33 1896 [Note] InnoDB: 5.6.25 started; log sequence number 1665234
2015-08-09 15:13:33 1896 [Note] Server hostname (bind-address): '*'; port: 3306
2015-08-09 15:13:33 1896 [Note] IPv6 is available.
2015-08-09 15:13:33 1896 [Note]   - '::' resolves to '::';
2015-08-09 15:13:33 1896 [Note] Server socket created on IP: '::'.
2015-08-09 15:15:05 8012 [Note] Plugin 'FEDERATED' is disabled.
2015-08-09 15:15:05 980 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
2015-08-09 15:15:05 8012 [Note] InnoDB: Using atomics to ref count buffer pool pages
2015-08-09 15:15:05 8012 [Note] InnoDB: The InnoDB memory heap is disabled
2015-08-09 15:15:05 8012 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2015-08-09 15:15:05 8012 [Note] InnoDB: Memory barrier is not used
2015-08-09 15:15:05 8012 [Note] InnoDB: Compressed tables use zlib 1.2.3
2015-08-09 15:15:05 8012 [Note] InnoDB: Not using CPU crc32 instructions
2015-08-09 15:15:05 8012 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2015-08-09 15:15:05 8012 [Note] InnoDB: Completed initialization of buffer pool
2015-08-09 15:15:05 8012 [Note] InnoDB: Highest supported file format is Barracuda.
2015-08-09 15:15:05 8012 [Note] InnoDB: The log sequence numbers 1665234 and 1665234 in ibdata files do not match the log sequence number 1665244 in the ib_logfiles!
2015-08-09 15:15:05 8012 [Note] InnoDB: Database was not shutdown normally!
2015-08-09 15:15:05 8012 [Note] InnoDB: Starting crash recovery.
2015-08-09 15:15:05 8012 [Note] InnoDB: Reading tablespace information from the .ibd files...
2015-08-09 15:15:05 8012 [Note] InnoDB: Restoring possible half-written data pages
2015-08-09 15:15:05 8012 [Note] InnoDB: from the doublewrite buffer...
2015-08-09 15:15:06 8012 [Note] InnoDB: 128 rollback segment(s) are active.
2015-08-09 15:15:06 8012 [Note] InnoDB: Waiting for purge to start
2015-08-09 15:15:06 8012 [Note] InnoDB: 5.6.25 started; log sequence number 1665244
2015-08-09 15:15:06 8012 [Note] Server hostname (bind-address): '*'; port: 3306
2015-08-09 15:15:06 8012 [Note] IPv6 is available.
2015-08-09 15:15:06 8012 [Note]   - '::' resolves to '::';
2015-08-09 15:15:06 8012 [Note] Server socket created on IP: '::'.
2015-08-09 15:15:06 8012 [Note] Event Scheduler: Loaded 0 events
2015-08-09 15:15:06 8012 [Note] c:\xampp\mysql\bin\mysqld.exe: ready for connections.
Version: '5.6.25'  socket: ''  port: 3306  MySQL Community Server (GPL)
2015-08-09 18:25:58 2208 [Note] Plugin 'FEDERATED' is disabled.
2015-08-09 18:25:58 1cdc InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
2015-08-09 18:25:58 2208 [Note] InnoDB: Using atomics to ref count buffer pool pages
2015-08-09 18:25:58 2208 [Note] InnoDB: The InnoDB memory heap is disabled
2015-08-09 18:25:58 2208 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2015-08-09 18:25:58 2208 [Note] InnoDB: Memory barrier is not used
2015-08-09 18:25:58 2208 [Note] InnoDB: Compressed tables use zlib 1.2.3
2015-08-09 18:25:58 2208 [Note] InnoDB: Not using CPU crc32 instructions
2015-08-09 18:25:58 2208 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2015-08-09 18:25:58 2208 [Note] InnoDB: Completed initialization of buffer pool
2015-08-09 18:25:58 2208 [Note] InnoDB: Highest supported file format is Barracuda.
2015-08-09 18:25:58 2208 [Note] InnoDB: The log sequence numbers 1665234 and 1665234 in ibdata files do not match the log sequence number 1665254 in the ib_logfiles!
2015-08-09 18:25:58 2208 [Note] InnoDB: Database was not shutdown normally!
2015-08-09 18:25:58 2208 [Note] InnoDB: Starting crash recovery.
2015-08-09 18:25:58 2208 [Note] InnoDB: Reading tablespace information from the .ibd files...
2015-08-09 18:25:58 2208 [Note] InnoDB: Restoring possible half-written data pages
2015-08-09 18:25:58 2208 [Note] InnoDB: from the doublewrite buffer...
2015-08-09 18:25:59 2208 [Note] InnoDB: 128 rollback segment(s) are active.
2015-08-09 18:25:59 2208 [Note] InnoDB: Waiting for purge to start
2015-08-09 18:25:59 2208 [Note] InnoDB: 5.6.25 started; log sequence number 1665254
2015-08-09 18:25:59 2208 [Note] Server hostname (bind-address): '*'; port: 3306
2015-08-09 18:25:59 2208 [Note] IPv6 is available.
2015-08-09 18:25:59 2208 [Note]   - '::' resolves to '::';
2015-08-09 18:25:59 2208 [Note] Server socket created on IP: '::'.
2015-08-09 18:25:59 2208 [Note] Event Scheduler: Loaded 0 events
2015-08-09 18:25:59 2208 [Note] c:\xampp\mysql\bin\mysqld.exe: ready for connections.
Version: '5.6.25'  socket: ''  port: 3306  MySQL Community Server (GPL)
2015-08-09 18:42:17 5828 [Note] Plugin 'FEDERATED' is disabled.
2015-08-09 18:42:17 3b8 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
2015-08-09 18:42:17 5828 [Note] InnoDB: Using atomics to ref count buffer pool pages
2015-08-09 18:42:17 5828 [Note] InnoDB: The InnoDB memory heap is disabled
2015-08-09 18:42:17 5828 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2015-08-09 18:42:17 5828 [Note] InnoDB: Memory barrier is not used
2015-08-09 18:42:17 5828 [Note] InnoDB: Compressed tables use zlib 1.2.3
2015-08-09 18:42:17 5828 [Note] InnoDB: Not using CPU crc32 instructions
2015-08-09 18:42:17 5828 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2015-08-09 18:42:17 5828 [Note] InnoDB: Completed initialization of buffer pool
2015-08-09 18:42:17 5828 [Note] InnoDB: Highest supported file format is Barracuda.
2015-08-09 18:42:17 5828 [Note] InnoDB: The log sequence numbers 1665234 and 1665234 in ibdata files do not match the log sequence number 1665264 in the ib_logfiles!
2015-08-09 18:42:17 5828 [Note] InnoDB: Database was not shutdown normally!
2015-08-09 18:42:17 5828 [Note] InnoDB: Starting crash recovery.
2015-08-09 18:42:17 5828 [Note] InnoDB: Reading tablespace information from the .ibd files...
2015-08-09 18:42:17 5828 [Note] InnoDB: Restoring possible half-written data pages
2015-08-09 18:42:17 5828 [Note] InnoDB: from the doublewrite buffer...
2015-08-09 18:42:17 5828 [Note] InnoDB: 128 rollback segment(s) are active.


Des weiteren der LOG aus dem XAMPP Control Panel.
Code: Select all
18:41:45  [main]    Initializing Control Panel
18:41:45  [main]    Windows Version: Windows 8  64-bit
18:41:45  [main]    XAMPP Version: 5.6.11
18:41:45  [main]    Control Panel Version: 3.2.1  [ Compiled: May 7th 2013 ]
18:41:45  [main]    Running with Administrator rights - good!
18:41:45  [main]    XAMPP Installation Directory: "c:\xampp\"
18:41:45  [main]    Checking for prerequisites
18:41:45  [main]    All prerequisites found
18:41:45  [main]    Initializing Modules
18:41:45  [main]    Starting Check-Timer
18:41:45  [main]    Control Panel Ready
18:42:09  [mysql]    Installing service...
18:42:09  [mysql]    Successful!
18:42:15  [mysql]    Attempting to start MySQL service...
18:42:16  [mysql]    Status change detected: running


Kann mir einer bei der Angelegenheit helfen Licht ins Dunkel zu bringen.
Falls ja, bitte in Normalsterblichensprache, da ich wie gesagt noch keine Ahnung von Datenbanken habe.

MfG: Dolan

Edit: Mit fällt grade noch ein, dass ich in Firefox ZenMate VPN nutze, aber das sollte für einen Localhosts. unwichtig sein oder ?
Dolan
 
Posts: 3
Joined: 04. August 2015 19:53
Operating System: W10

Re: MySQL startet nicht

Postby Altrea » 09. August 2015 18:05

Hallo Dolan,

Hast du neben MySQL auch Apache gestartet?
phpmyadmin ist eine PHP Webanwendung und benötigt den darunterliegenden Apache um aufgerufen zu werden.

mit freundlichen Grüßen,
Altrea
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: MySQL startet nicht

Postby Dolan » 09. August 2015 18:16

Achgott, ne hab ich natürlich nicht gemacht.
Läuft alles 1A wenn ich Apache vorher starte :? :?
Danke dass du den komplexen Sachverhalt für mich geklärt hast :oops: :oops: :oops:
Dolan
 
Posts: 3
Joined: 04. August 2015 19:53
Operating System: W10

Re: MySQL startet nicht

Postby Altrea » 09. August 2015 18:47

Ist doch kein Problem :D
Freut mich, dass ich helfen konnte
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: MySQL startet nicht

Postby Dolan » 11. August 2015 17:46

Oben in phpMyAdmin steht nun 'Server: *IP*' via TCP/IP
Benutzer: root@localhost
Adressleiste: localhost/phpmyadmin/#...

Ein Kennwort für diesen Benutzer wurde natürlich festgelegt.
Mich irritiert lediglich ein wenig die IP Adresse, bei meinem Localhost auf einem NAS System stand dort in phpMA nämlich 'localhost' und keine IP.
Ist mit den genannten Angaben ein Zugriff von ausserhalb möglich ? - Ich hoffe nicht. :?:

Gruß: Dolan
Dolan
 
Posts: 3
Joined: 04. August 2015 19:53
Operating System: W10

Re: MySQL startet nicht

Postby Nobbie » 11. August 2015 18:25

Da Du die IP nicht nennst, ist eine Antwort unmöglich.
Nobbie
 
Posts: 13183
Joined: 09. March 2008 13:04

Re: MySQL startet nicht

Postby Altrea » 11. August 2015 19:02

phpMyAdmin in XAMPP ist so konfiguriert, dass es sich per TCP/IP mit dem Host 127.0.0.1 verbindet.
127.0.0.1 ist nichts anderes als die IP-Adresse die jeder einzelne PC auf sich selbst verweist und in aller Regel auch localhost hin auflöst, sofern IPv4 primär verwendet wird.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64


Return to MariaDB - MySQL

Who is online

Users browsing this forum: No registered users and 48 guests