How do I run my custom function in my plugin when a wordpress user is deleted?

How do I run my custom function in my plugin when a wordpress user is deleted?

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