change to mysql from mysql2