Everything was working, but after a while I started to get this error constantly:
Can not connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
The mysql server seems to be constantly dropping. Then I reboot, and after a while it falls again.