the_excerpt() doesn’t return the Excerpt field content

Have you tried using the example from the codex?

if ( ! has_excerpt() ) {
      the_content();
} else { 
      the_excerpt();
}

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