please help ! I have installed xampp on mac and I have used the virtual host to host 2 domains.
after the virtual host setup, I cannot acccess phpmyadmin
I got this error
MySQL said: Documentation
#1045 - Access denied for user 'root'@'localhost' (using password: NO)
I access this on my localhost machine
http://localhost/phpmyadmin/
<VirtualHost *:80>
DocumentRoot "/Applications/XAMPP/xamppfiles/htdocs"
ServerName localhost
ErrorLog "logs/localhost.com-error_log"
CustomLog "logs/localhost.com-access_log" common
</VirtualHost>
<VirtualHost *:80>
ServerAdmin info@vio-style.com
DocumentRoot "/Applications/XAMPP/xamppfiles/vio-style"
ServerName vio-style.com
ServerAlias www.vio-style.com
ErrorLog "logs/vio-style.com-error_log"
CustomLog "logs/vio-style.com-access_log" common
</VirtualHost>
<VirtualHost *:80>
ServerAdmin info@hk-ict.com
DocumentRoot "/Applications/XAMPP/xamppfiles/hk-ict"
ServerName hk-ict.com
ServerAlias www.hk-ict.com
ErrorLog "logs/hk-ict.com-error_log"
CustomLog "logs/hk-ict.com-access_log" common
</VirtualHost>