Mysql startet nicht mehr.

Irgendwelche Probleme mit XAMPP für Windows? Dann ist hier genau der richtige Ort um nachzufragen.

Mysql startet nicht mehr.

Postby jele69 » 07. December 2015 18:14

Hallo,

bei mir startet der Datenbankserver mysql nicht mehr unter Windows 10.
Für micht ist es ein Rätsel da er nach der Installation lief.
Ich schreibe hier betreffs dieser Ausgabe bei xampp control:
Status change detected: running
10:02:48 [mysql] Status change detected: stopped
10:02:48 [mysql] Error: MySQL shutdown unexpectedly.
10:02:48 [mysql] This may be due to a blocked port, missing dependencies,
10:02:48 [mysql] improper privileges, a crash, or a shutdown by another method.
10:02:48 [mysql] Press the Logs button to view error logs and check
10:02:48 [mysql] the Windows Event Viewer for more clues
10:02:48 [mysql] If you need more help, copy and post this
10:02:48 [mysql] entire log window on the forums




Das steht am Ende des Logfile!
Kann jemand daraus etwas erkennen.
Leider verstehe ich das überhaupt nicht.

Danke !!!!


2015-12-06 14:39:31 9e8 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.
151206 14:39:31 [Note] InnoDB: Using mutexes to ref count buffer pool pages
151206 14:39:31 [Note] InnoDB: The InnoDB memory heap is disabled
151206 14:39:31 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
151206 14:39:31 [Note] InnoDB: Memory barrier is not used
151206 14:39:31 [Note] InnoDB: Compressed tables use zlib 1.2.3
151206 14:39:31 [Note] InnoDB: Not using CPU crc32 instructions
151206 14:39:31 [Note] InnoDB: Initializing buffer pool, size = 16.0M
151206 14:39:31 [Note] InnoDB: Completed initialization of buffer pool
151206 14:39:31 [Note] InnoDB: Highest supported file format is Barracuda.
151206 14:39:31 [Note] InnoDB: The log sequence numbers 2223819 and 2223819 in ibdata files do not match the log sequence number 2223899 in the ib_logfiles!
151206 14:39:31 [Note] InnoDB: Database was not shutdown normally!
151206 14:39:31 [Note] InnoDB: Starting crash recovery.
151206 14:39:31 [Note] InnoDB: Reading tablespace information from the .ibd files...
151206 14:39:31 [Note] InnoDB: Restoring possible half-written data pages
151206 14:39:31 [Note] InnoDB: from the doublewrite buffer...
151206 14:39:31 [Note] InnoDB: 128 rollback segment(s) are active.
151206 14:39:31 [Note] InnoDB: Waiting for purge to start
151206 14:39:31 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.22-72.0 started; log sequence number 2223899
151206 14:39:31 [Note] Plugin 'FEEDBACK' is disabled.
151206 14:39:31 [Note] Server socket created on IP: '::'.
2015-12-07 10:02:33 568 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.
151207 10:02:34 [Note] InnoDB: Using mutexes to ref count buffer pool pages
151207 10:02:34 [Note] InnoDB: The InnoDB memory heap is disabled
151207 10:02:34 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
151207 10:02:34 [Note] InnoDB: Memory barrier is not used
151207 10:02:34 [Note] InnoDB: Compressed tables use zlib 1.2.3
151207 10:02:34 [Note] InnoDB: Not using CPU crc32 instructions
151207 10:02:34 [Note] InnoDB: Initializing buffer pool, size = 16.0M
151207 10:02:34 [Note] InnoDB: Completed initialization of buffer pool
151207 10:02:34 [Note] InnoDB: Highest supported file format is Barracuda.
151207 10:02:34 [Note] InnoDB: The log sequence numbers 2223819 and 2223819 in ibdata files do not match the log sequence number 2223909 in the ib_logfiles!
151207 10:02:34 [Note] InnoDB: Database was not shutdown normally!
151207 10:02:34 [Note] InnoDB: Starting crash recovery.
151207 10:02:34 [Note] InnoDB: Reading tablespace information from the .ibd files...
151207 10:02:34 [Note] InnoDB: Restoring possible half-written data pages
151207 10:02:34 [Note] InnoDB: from the doublewrite buffer...
151207 10:02:34 [Note] InnoDB: 128 rollback segment(s) are active.
151207 10:02:34 [Note] InnoDB: Waiting for purge to start
151207 10:02:34 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.22-72.0 started; log sequence number 2223909
151207 10:02:34 [Note] Plugin 'FEEDBACK' is disabled.
151207 10:02:34 [Note] Server socket created on IP: '::'.
2015-12-07 10:02:42 2318 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.
151207 10:02:42 [Note] InnoDB: Using mutexes to ref count buffer pool pages
151207 10:02:42 [Note] InnoDB: The InnoDB memory heap is disabled
151207 10:02:42 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
151207 10:02:42 [Note] InnoDB: Memory barrier is not used
151207 10:02:42 [Note] InnoDB: Compressed tables use zlib 1.2.3
151207 10:02:42 [Note] InnoDB: Not using CPU crc32 instructions
151207 10:02:42 [Note] InnoDB: Initializing buffer pool, size = 16.0M
151207 10:02:42 [Note] InnoDB: Completed initialization of buffer pool
151207 10:02:42 [Note] InnoDB: Highest supported file format is Barracuda.
151207 10:02:42 [Note] InnoDB: The log sequence numbers 2223819 and 2223819 in ibdata files do not match the log sequence number 2223919 in the ib_logfiles!
151207 10:02:42 [Note] InnoDB: Database was not shutdown normally!
151207 10:02:42 [Note] InnoDB: Starting crash recovery.
151207 10:02:42 [Note] InnoDB: Reading tablespace information from the .ibd files...
151207 10:02:42 [Note] InnoDB: Restoring possible half-written data pages
151207 10:02:42 [Note] InnoDB: from the doublewrite buffer...
151207 10:02:43 [Note] InnoDB: 128 rollback segment(s) are active.
151207 10:02:43 [Note] InnoDB: Waiting for purge to start
151207 10:02:43 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.22-72.0 started; log sequence number 2223919
151207 10:02:43 [Note] Plugin 'FEEDBACK' is disabled.
151207 10:02:43 [Note] Server socket created on IP: '::'.
jele69
 
Posts: 5
Joined: 07. December 2015 17:49
Operating System: Windows 10

Re: Mysql startet nicht mehr.

Postby tan123 » 08. December 2015 11:21

Hallo an alle,

eine Antwort würde mich auch sehr interesseren. Da ich am 7.12. genau dasselbe Problem hatte.

Apache läuft, mysql startet nicht. Siehe hier:

11:02:48 [Apache] XAMPP Apache is already running on port 80
11:02:48 [Apache] XAMPP Apache is already running on port 443
11:02:48 [main] Starting Check-Timer
11:02:48 [main] Control Panel Ready
11:11:43 [mysql] Attempting to start MySQL app...
11:11:44 [mysql] Status change detected: running
11:11:52 [mysql] Status change detected: stopped
11:11:52 [mysql] Error: MySQL shutdown unexpectedly.
11:11:52 [mysql] This may be due to a blocked port, missing dependencies,
11:11:52 [mysql] improper privileges, a crash, or a shutdown by another method.
11:11:52 [mysql] Press the Logs button to view error logs and check
11:11:52 [mysql] the Windows Event Viewer for more clues
11:11:52 [mysql] If you need more help, copy and post this
11:11:52 [mysql] entire log window on the forums

und Auszug aus dem Log:

2015-12-08 11:11:43 64dc 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.
151208 11:11:43 [Note] InnoDB: Using mutexes to ref count buffer pool pages
151208 11:11:43 [Note] InnoDB: The InnoDB memory heap is disabled
151208 11:11:43 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
151208 11:11:43 [Note] InnoDB: Memory barrier is not used
151208 11:11:43 [Note] InnoDB: Compressed tables use zlib 1.2.3
151208 11:11:43 [Note] InnoDB: Not using CPU crc32 instructions
151208 11:11:43 [Note] InnoDB: Initializing buffer pool, size = 16.0M
151208 11:11:43 [Note] InnoDB: Completed initialization of buffer pool
151208 11:11:46 [Note] InnoDB: Highest supported file format is Barracuda.
151208 11:11:46 [Note] InnoDB: The log sequence numbers 1665234 and 1665234 in ibdata files do not match the log sequence number 5439274 in the ib_logfiles!
151208 11:11:46 [Note] InnoDB: Database was not shutdown normally!
151208 11:11:46 [Note] InnoDB: Starting crash recovery.
151208 11:11:46 [Note] InnoDB: Reading tablespace information from the .ibd files...
151208 11:11:46 [Note] InnoDB: Restoring possible half-written data pages
151208 11:11:46 [Note] InnoDB: from the doublewrite buffer...
151208 11:11:47 [Note] InnoDB: 128 rollback segment(s) are active.
151208 11:11:47 [Note] InnoDB: Waiting for purge to start
151208 11:11:47 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.22-72.0 started; log sequence number 5439274
151208 11:11:47 [Note] Plugin 'FEEDBACK' is disabled.
151208 11:11:47 [Note] Server socket created on IP: '::'.

Mittlerweile habe ich 4 Tabellen repariert, die angeblich beim shutdown beschädigt wurden (mit myisamchk) und nun scheinen alle Tabellen ok zu sein.
Trotzdem kommt der Fehler noch.

Gestern vormittag lief alles noch. Dann stoppen von xampp (korrekt mit Stoppen von Apache und mysql) und shutdown des Notebookes.
Am Nachmittag Notebook wieder gestartet, xampp gestartet und der Fehler kam. Ich habe keinerlei Änderungen in xampp oder myql Admin vorgenommen.

Ich weiß jetzt gerade echt nicht weiter...

System: Windows 10.

Über Tipps, Hilfe, Anregungen wäre ich sehr dankbar.

Gruß tan123
tan123
 
Posts: 5
Joined: 08. December 2015 11:05
Operating System: Windows 10

Re: Mysql startet nicht mehr.

Postby Melewo » 08. December 2015 13:19

Nicht dass ich es wüsste, nur wenn ich nach der Fehlermeldung suche, dann lande ich auf einer Seite wie diese:

http://stackoverflow.com/questions/18022809/xampp-mysql-shutdown-unexpectedly
Melewo
 
Posts: 15
Joined: 08. August 2015 20:35
Operating System: Windows 10

Re: Mysql startet nicht mehr.

Postby Nobbie » 08. December 2015 14:01

Im englischen Board ist ein guter Hinweis eingegangen:

viewtopic.php?f=16&t=72437
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: Mysql startet nicht mehr.

Postby tan123 » 08. December 2015 18:03

Vielen Dank Melewo und Nobbie für eure Tipps. Habe alle ausprobiert.

Erst diesen Tipp (Link von Nobbie)
Grzybon wrote:Open MySQL config file by “Config” —> “my.ini”.
Insert
innodb_flush_method=normal

between
innodb_lock_wait_timeout = 50

and
## UTF 8 Settings

Start MySQL again in xampp.



dann diesen Tipp (Link von Melewo):



Add the following line below the [mysqld] section in the mysql config file (my.ini) and restart the apache web server and the mysql service afterwards.

[mysqld]
innodb_force_recovery = 4



und als letztes diesen Tipp:


Hey I just did this and it worked:

exit Xampp server
go to your C:\xampp\mysql\data directory
delete the ibdata1 file
restart xampp server

It should work
shareimprove this answer




Leider hat nichts funktioniert. Selber Fehler. Selbe Fehlermeldung nur mit anderen Log Sequence Nummern (wohl durchs Löschen des ibdata1 Files bzw. umbenennen)

2015-12-08 17:47:24 3b7c 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.
151208 17:47:24 [Note] InnoDB: Using mutexes to ref count buffer pool pages
151208 17:47:24 [Note] InnoDB: The InnoDB memory heap is disabled
151208 17:47:24 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
151208 17:47:24 [Note] InnoDB: Memory barrier is not used
151208 17:47:24 [Note] InnoDB: Compressed tables use zlib 1.2.3
151208 17:47:24 [Note] InnoDB: Not using CPU crc32 instructions
151208 17:47:24 [Note] InnoDB: Initializing buffer pool, size = 16.0M
151208 17:47:24 [Note] InnoDB: Completed initialization of buffer pool
151208 17:47:24 [Note] InnoDB: Highest supported file format is Barracuda.
151208 17:47:24 [Note] InnoDB: The log sequence numbers 0 and 0 in ibdata files do not match the log sequence number 1600644 in the ib_logfiles!
151208 17:47:24 [Note] InnoDB: Database was not shutdown normally!
151208 17:47:24 [Note] InnoDB: Starting crash recovery.
151208 17:47:24 [Note] InnoDB: Reading tablespace information from the .ibd files...
151208 17:47:24 [Note] InnoDB: Restoring possible half-written data pages
151208 17:47:24 [Note] InnoDB: from the doublewrite buffer...
151208 17:47:26 [Note] InnoDB: 128 rollback segment(s) are active.
151208 17:47:26 [Note] InnoDB: Waiting for purge to start
151208 17:47:26 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.22-72.0 started; log sequence number 1600644
151208 17:47:26 [Note] Plugin 'FEEDBACK' is disabled.
151208 17:47:26 [Note] Server socket created on IP: '::'.

Bin langsam echt verzweifelt....weiß wer weiter? Wäre echt super. Vielen Dank.
Gruß
tan123
tan123
 
Posts: 5
Joined: 08. December 2015 11:05
Operating System: Windows 10

Re: Mysql startet nicht mehr.

Postby jele69 » 08. December 2015 22:52

Schade das es keine einfache Lösung gibt. Bei mir gehen diese beiden Tipps auch nicht. Ich hätte gedacht das man aus dem
Log etwas erkennen kann. Ich habe auch in dieser cofig die ports von 3316 mal auf 9316 geändert. Hilft aber nicht!
jele69
 
Posts: 5
Joined: 07. December 2015 17:49
Operating System: Windows 10

Re: Mysql startet nicht mehr.

Postby tan123 » 09. December 2015 09:25

Ich wäre schon froh, wenn es überhaupt eine Lösung oder Erklärung gibt. Datenbank ist ok. Datenbankcheck meldet keine Fehler.
Ich verstehe die Fehlermeldung auch nicht wirklich.

Komisch finde ich, dass alles ok war und beim nächsten Start von Xampp und mysql kommt dann dieser Fehler.

Ich kann jetzt xampp neu installieren und Datenbank Backup einspielen, aber was ist wenn es wieder passiert.
(Ich weiß noch nicht mal, warum dieser Fehler auftrat).

Ich kann ja nicht jedesmal alles neu installieren und Backup einspielen, falls das wieder auftritt.
Irgendwie wirkt das gerade sehr instabil auf mich.

Auf jeden Fall danke an alle, die hier mithelfen und mitschreiben.

Viele Grüße
tan123
tan123
 
Posts: 5
Joined: 08. December 2015 11:05
Operating System: Windows 10

Re: Mysql startet nicht mehr.

Postby Melewo » 09. December 2015 09:30

jele69 wrote:Ich hätte gedacht das man aus dem Log etwas erkennen kann.

Na ja, bei den Meldungen in der mysql_error.log handelt es sich ja um keine Fehler im eigentlichem Sinne (so wie ich das verstehe), eher nur um Warnungen und Notizen und die erhalte ich ebenfalls, ohne das es bisher in dieser Richtung Probleme gab. So bedeutet
Warning: Using innodb_additional_mem_pool_size is DEPRECATED. ...

nach meiner bescheidenen Meinung eigentlich nichts weiter, als dass diese Option spätestens ab Version 5.6.3 veraltet ist und ab 5.7.4 entfällt.
Note

innodb_use_sys_malloc and innodb_additional_mem_pool_size were deprecated in MySQL 5.6.3 and are removed in MySQL 5.7.4.

http://dev.mysql.com/doc/refman/5.6/en/innodb-performance-use_sys_malloc.html

Aktuell verwende ich 5.6.25, doch richtig kritisch sollte es doch wohl erst ab 5.7 werden, würde ich meinen. Welche Versionen benutzt ihr?

Was mir noch einfiel, traue nie einem Anti-Viren-Programm und bei unklaren Geschichten ruhig einmal zum Test mysql.exe in der Whitelist vom Programm einfügen. Bei meinem musste ich C:\xampp\xampp-control.exe in die Whitelist aufnehmen. Da ließ sich zwar der Apache und MySQL starten und stoppen, nur nicht die xampp-control.exe beenden.
Melewo
 
Posts: 15
Joined: 08. August 2015 20:35
Operating System: Windows 10

Re: Mysql startet nicht mehr.

Postby jele69 » 09. December 2015 20:23

Um das zu testen brauche ich ja nur mal den "avast" Vierenscanner ausschalten.
Ich dachte ich hätte das schon mal probiert, wenn ich zu Hause bin werde ich
dieses auf jedenfall noch mal teste.
jele69
 
Posts: 5
Joined: 07. December 2015 17:49
Operating System: Windows 10

Re: Mysql startet nicht mehr.

Postby jele69 » 09. December 2015 21:56

schade geht auch nicht!
jele69
 
Posts: 5
Joined: 07. December 2015 17:49
Operating System: Windows 10

Re: Mysql startet nicht mehr.

Postby Nobbie » 09. December 2015 22:29

Wieso installierst Du nicht einfach eine ältere Xampp Version, von der Du weißt, dass sie stabil lief?
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: Mysql startet nicht mehr.

Postby tan123 » 10. December 2015 12:45

Das war meine erste xampp Version. Ich habe noch mit keiner älteren (stabileren?) Version gearbeitet.
tan123
 
Posts: 5
Joined: 08. December 2015 11:05
Operating System: Windows 10

Re: Mysql startet nicht mehr.

Postby Nobbie » 10. December 2015 15:05

Dann schau mal bei Sourceforge vorbei und suche Dir eine Version, die noch NICHT MariaDB statt MySQL ausliefert. Die laufen stabiler und sind immer noch modern genug.
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: Mysql startet nicht mehr.

Postby jele69 » 10. December 2015 17:24

So ich habe nun xampp deinstalliert und neu installiert (5.6.15) Jetzt läuft mysql erst mal wieder und spiele meine Datenbank neu ein. Ich hoffe der Fehler kommt nicht wieder.
Ansonsten probiere ich es auch mal mit einer alten Version.
Danke!
jele69
 
Posts: 5
Joined: 07. December 2015 17:49
Operating System: Windows 10

Re: Mysql startet nicht mehr.

Postby tan123 » 10. December 2015 20:55

Ich auch. Habe auch Xampp deinstalliert und neu installiert und jetzt läuft wieder alles. Das ging jetzt auch unproblematisch und recht schnell (auf jeden Fall viel schneller als die ganze Suche und Versuche vorher ;).

Danke an alle Mitwirkenden. Bis dann zum nächsten Mal. :wink:
tan123
 
Posts: 5
Joined: 08. December 2015 11:05
Operating System: Windows 10

Next

Return to XAMPP für Windows

Who is online

Users browsing this forum: No registered users and 19 guests