Changed mysql driver to cymysql.