I want to include a particular word into the excerpt of every posts of a custom post type. How can I do that pragmatically?

I want to include a particular word into the excerpt of every posts of a custom post type. How can I do that pragmatically?

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