Vorgehen wäre:
1) DB sauber runterfahren
2) Die alten InnoDB-Logs wegsichern / umbennen / löschen
3) DB Config bearbeiten, für MySQL siehe auch hier: https://dev.mysql.com/doc/refman/5.0/en ... ation.html
z.B.
innodb_log_file_size=WERT
4) DB hochfahren
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
Für alle die es sich einfach machen wollen und nicht erst einige Commands zusammen suchen wollen. Hier Step by Step
Stopping mysql # service mysqld stop
Rename all logfiles to xyz_OLD # find /var/lib/mysql -type f -name "ib_logfile?" -exec mv {} {}_OLD \;
Check the logfiles if this is renamed # ls -la /var/lib/mysql/ib_logfile*
-rw-rw---- 1 mysql mysql 5242880 Apr 3 01:24 /var/lib/mysql/ib_logfile0_OLD
-rw-rw---- 1 mysql mysql 5242880 Jan 31 2010 /var/lib/mysql/ib_logfile1_OLD
Grep your my.cnf if there a parameter already set # grep innodb_log_file_size /etc/my.cnf
You will see, nothing will displayed.
Open my.cnf in "etc" with notepad++ or similar
And add following parameter
Mein Gott - jetzt schäme ich fast über meinen Guru Status ...
10 mal probiert - 10 x die MySQL nicht mehr hochgefahren
>find /var/lib/mysql -type f -name "ib_logfile?" -exec mv {} {}_OLD \
und jetzt gehts!
DANKE
Produktiv:
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting