innodb-fehler

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

innodb-fehler

Postby schwarzhosting » 12. January 2005 21:08

Code: Select all
#skip-innodb
# Uncomment the following if you are using InnoDB tables
innodb_data_home_dir = C:/Programme/apachefriends/xampp2/xampp/mysql/
innodb_data_file_path = ibdata1:30M:autoextend
innodb_log_group_home_dir = C:/Programme/apachefriends/xampp2/xampp/mysql/
innodb_log_arch_dir = C:/Programme/apachefriends/xampp2/xampp/mysql/
# You can set .._buffer_pool_size up to 50 - 80 %
# of RAM but beware of setting memory usage too high
set-variable = innodb_buffer_pool_size=16M
set-variable = innodb_additional_mem_pool_size=2M
# Set .._log_file_size to 25 % of buffer pool size
set-variable = innodb_log_file_size=5M
set-variable = innodb_log_buffer_size=8M
innodb_flush_log_at_trx_commit=1
set-variable = innodb_lock_wait_timeout=50


warum kann er mysql nicht starten? er gibt keine fehler aus, aber laufen tut mysql auch nicht. die pfad-angaben stimmen aber alle? :(
schwarzhosting
 
Posts: 20
Joined: 27. April 2004 17:45

Postby Wiedmann » 13. January 2005 11:44

Was steht in der Logdatei *.err ("\xampp\mysql\data")?
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby schwarzhosting » 13. January 2005 14:59

InnoDB: Error: auto-extending data file C:\Programme\apachefriends\xampp2\xampp\mysql\ibdata1 is of a different size
InnoDB: 640 pages (rounded down to MB) than specified in the .cnf file:
InnoDB: initial 1920 pages, max 0 (relevant if non-zero) pages!
InnoDB: Could not open or create data files.
InnoDB: If you tried to add new data files, and it failed here,
InnoDB: you should now edit innodb_data_file_path in my.cnf back
InnoDB: to what it was, and remove the new ibdata files InnoDB created
InnoDB: in this failed attempt. InnoDB only wrote those files full of
InnoDB: zeros, but did not yet use them in any way. But be careful: do not
InnoDB: remove old data files which contain your precious data!
050113 14:56:19 [ERROR] Can't init databases
050113 14:56:19 [ERROR] Aborting
schwarzhosting
 
Posts: 20
Joined: 27. April 2004 17:45

Postby Wiedmann » 13. January 2005 15:30

Die Pfade in der "my.cnf" sind auch etwas seltsam....

Damit InnoDB läuft, lang es eigentlich in Zeile 41 den Kommentar hinzumachen:
Code: Select all
#skip-innodb


Bei allen anderen Zeilen das "#" drin lassen wie es war.
(Die Pfade vom XAMPP entsprechen so eh nicht dem Standard...)

Vorhanden ib*.* Dateien kannst du dann erstmal wieder löschen. (in "\xampp\mysql" und "\xampp\mysql\data")

Beim nächsten Start von XAMPP kann es dann etwas dauern und der sollte nicht abgebrochen werden. (Auch immer daran denken, MYSQL korrekt zu beenden...)

Evtl. mal eine DB-Überprüfung vorher machen.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby schwarzhosting » 13. January 2005 18:55

ok. laeuft wieder :D thx ;-)

da faellt mir ein: gibts eigentlich eine seite auf der die einzelnen config-parameter erklaert sind? mit auswirkungen etc... (grad des mit dem memory). irgendwie komm ich mit der mysql-doku nicht klar in dem punkt.
schwarzhosting
 
Posts: 20
Joined: 27. April 2004 17:45

Postby Wiedmann » 14. January 2005 13:43

da faellt mir ein: gibts eigentlich eine seite auf der die einzelnen config-parameter erklaert sind?

Im Prinzip kann ich dich da auch nur auf die MySQL-Doku verweisen:

http://dev.mysql.com/doc/mysql/en/Confi ... MySQL.html

Dort dann halt die entsprechenden Sub-Kapitel.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany


Return to MariaDB - MySQL

Who is online

Users browsing this forum: No registered users and 41 guests