Genesis / custom template page / setting the page title and meta desc

Yoast Support kindly provided me with the following reference:

https://yoast.com/wordpress/plugins/seo/api/

Using the following filters calling my own functions, I was able to change everything in the header based on dynamic content.

add_filter('wpseo_title', 'setPageTitle', 10);
add_filter('wpseo_metadesc', 'setMetaDesc', 10);
add_filter('wpseo_canonical', 'setCanonical', 10);
add_filter('wpseo_opengraph_image', 'setOG_Image', 10);
add_filter('the_title', 'setTitle', 10);

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