Access denied for user ''@'localhost' (using password: NO)

QUERY: SELECT oa_appid, oa_exit_page, oa_form_code, oa_status_update, oa_webinar_key, oa_host_name FROM wp_optinapp_links WHERE oa_id=2