How to make subdomain and muti-site but wordpress isn’t in root?

WordPress must be installed in the root of your domain in order to set up subdomain-based multisite.

However, you can move WordPress to the root.

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