How to localize data array in plugin’s option page

Maybe I am missing the point but assuming that a script is enqueued with the lu_ban slug…

function add_data_admin_wpse_112178() {
    $data = get_option('lu_ban_data');
    wp_localize_script( 'lu_ban', 'lu_ban_object', $data);
}
add_action('admin_enqueue_scripts','add_data_admin_wpse_112178');

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)