Try setting the MySQL parameters as mentioned on StackOverflow