Add this to /etc/mysql/mysqld.conf/mysqld.conf