Delete a specific item menu when I deactivate my plugin

WordPress automatically handles that if you force delete the page instead of thrashing it.
The following function takes a parameter to force delete ->
wp_delete_post( $postid, $force_delete )

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