What action/hook do I need to register to have my plugin handle front-end editing?

What action/hook do I need to register to have my plugin handle front-end editing?

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