Using Same User Database on Subdomain

Multisite would be the easiest way to achieve this – assuming both sites are WordPress. There are other ways to achieve the same but they are more complicated.

You’ll find the instructions here:
http://codex.wordpress.org/Create_A_Network

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