Changed to RMySQL from SQLITE