Command: root@ubuntu:/etc# vi my.cnf root@ubuntu:/etc# /etc/init.d/mysql restart Just a tip for memory.