rebuild db by mysql.connector