How to install multiple wordpress site on localhost

This turned out to be simple. All that I had to do was to edit the “Apache (httpd-xampp.config)” file. Accessed it from the xampp control panel. Then added this code.

Alias /golf "C:\xampp\apps\golf"
<Directory "C:\xampp\apps\golf" >
    Options Indexes FollowSymLinks
    AllowOverride none
    Require all granted
</Directory>

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