All links in my site start with localhost?

You should be able to configure the URL that WP uses for the links in the backend, at Settings->General.

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