Missing slash after moving site to subfolder

I solved it by logging in into admin panel and saving site URL with a trailing slash at the end.

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