Using wp_list_table how to trigger update function “inline”?

ok not the most handsome solution but it works

i transported the update function to update.php also wp-load.php

$(".col_visitor").click(function(){
         visitorID = $(this).attr('id');
         //alert('testing '+visitorID);
         $.ajax({ url: 'update.php',
             data: {action: visitorID},
             type: 'post',
             success: function(output) {
            //alert(output);
            window.location.reload(); //reload so we see the updated values
             }
    });
    });//#end click

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