WordPress not working locally

If you’re on OSX, look into MAMP. It’s developed with WordPress in mind and generally works without any further configuration. Just copy your files into the web root directory, set up an empty database, and install.

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