Is template name always same as directory name?

According to the codex

The Template is the directory name of the parent theme


If you want to make a child of a theme with the directory name
example-theme-name, then you would use Template: example-theme-name.

So yes its always the name of the parent theme directory.

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