Forgot to show how you setup the mysql connection.