Initial checkin of MYSQL-based resolver