Comment 6 for bug 970366

Revision history for this message
Burak Göksoy (rbgoksoy) wrote :

İ have Lamp on Ubuntu Server 12.04 and i am working on Moodle in this server. I had same issue, i looked /var/log/syslog and these lines are the being problem;

Nov 17 07:58:47 localhost kernel: [ 5553.205348] Out of memory: Kill process 678 (mysqld) score 121 or sacrifice child
Nov 17 07:58:47 localhost kernel: [ 5553.205553] Killed process 678 (mysqld) total-vm:337344kB, anon-rss:61480kB, file-rss:0kB
Nov 17 07:58:47 localhost kernel: [ 5553.229584] init: mysql main process (678) killed by KILL signal
Nov 17 07:58:47 localhost kernel: [ 5553.229781] init: mysql main process ended, respawning
Nov 17 07:58:47 localhost kernel: [ 5553.491673] init: mysql main process (1886) terminated with status 1
Nov 17 07:58:47 localhost kernel: [ 5553.491705] init: mysql main process ended, respawning
Nov 17 07:58:48 localhost kernel: [ 5553.524505] init: mysql post-start process (1887) terminated with status 1
Nov 17 07:58:48 localhost kernel: [ 5553.566303] init: mysql main process (1905) terminated with status 1
Nov 17 07:58:48 localhost kernel: [ 5553.566332] init: mysql respawning too fast, stopped
Nov 17 07:59:41 localhost kernel: [ 5606.836903] init: mysql main process (1934) terminated with status 1
Nov 17 07:59:41 localhost kernel: [ 5606.836958] init: mysql main process ended, respawning
Nov 17 07:59:42 localhost kernel: [ 5607.827272] init: mysql post-start process (1935) terminated with status 1
Nov 17 07:59:42 localhost kernel: [ 5607.897534] init: mysql main process (1961) terminated with status 1
Nov 17 07:59:42 localhost kernel: [ 5607.897593] init: mysql main process ended, respawning
Nov 17 07:59:43 localhost kernel: [ 5608.887142] init: mysql post-start process (1962) terminated with status 1
Nov 17 07:59:43 localhost kernel: [ 5608.955408] init: mysql main process (1988) terminated with status 1
Nov 17 07:59:43 localhost kernel: [ 5608.955463] init: mysql respawning too fast, stopped

The solution is from here; http://askubuntu.com/questions/127264/cant-start-mysql-mysql-respawning-too-fast-stopped

So i added these line to my /etc/mysql/my.cnf ;

default-character-set = utf8
default-collation = utf8_general_ci

character_set_server = utf8
collation_server = utf8_general_ci