i create functions.php in plugin files but add_action (‘wp_head’, ‘function_name’) don’t work

i create functions.php in plugin files but add_action (‘wp_head’, ‘function_name’) don’t work

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