• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

MySql Innodb

Hallo,

ich weil beim MySql Server einstellen, dass, wenn keine Engine beim erstellen von tabellen bestimmt wird, so dass standardmig innoDB verwendet wird UND nicht myisam.

hab die /etc/my.cnf geffnet und folgendes gemacht:

# The safe_mysqld script
#If no specific storage engine/table type is defined in an SQL-Create statement the default type will be used.
default-storage-engine=myisam

und ersetzt durch:

# The safe_mysqld script
#If no specific storage engine/table type is defined in an SQL-Create statement the default type will be used.
default-storage-engine=innodb

Nach einem Neustart des Dienstes verabscheidet er sich mit folgender Meldung:

070919 17:25:50 mysqld started
InnoDB: Error: log file /var/lib/mysql/ib_logfile0 is of different size 0 5242880 bytes
InnoDB: than specified in the .cnf file 0 67108864 bytes!
070919 17:25:50 [ERROR] Default storage engine (InnoDB) is not available
070919 17:25:50 [ERROR] Aborting

070919 17:25:50 [Note] /usr/sbin/mysqld: Shutdown complete

070919 17:25:50 mysqld ended

Das ganze passiert auf einem SuSE Linux Enterprise Server 10,

mfg
 
Oben