Initial conversion to mySQL.