Localhost access after changing URL

So turns out, in /etc, there is the host.conf file and the hosts file.

Yes, it was that stupid.

Case closed.

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