Deleting data from a custom table in WordPress

Try to use $wpdb->prefix insted of $wpdb in Delete query.

Example:

 $wpdb->query(
              'DELETE  FROM '.$wpdb->prefix.'paypal
               WHERE id = "'.$myid.'"'
);

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