Change database connection to mysql type