get_template_directory() – references parent theme directory

get_template_directory() gives you the path to the parent theme while get_stylesheet_directory() gives you the path to the child theme.

Docs:

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