How to add a handler for a button in plugin?

How to add a handler for a button in plugin?

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