Where to check in PHPmyAdmin / SQL database for subdomain

i think you mean updating permalinks and its in wp_options table

go to your host control panel (cpanel/directadmin) and phpmyadmin from there find your database and update site url and website address from wp_options table

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