January 30th, 2009, 09:14 PM
How to get my database connection to work using XAMPP
hi i have installed XAMPP and its got php and apache working fine but mysql does not work i get the error:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES) in C:\xampp\htdocs\testDB.php on line 5
couldn't connect localhost
i have not configured anything for the database, because i don'nt know how to using XAMPP?
how do I even create a database using XAMPP?
January 30th, 2009, 09:22 PM
Do your research next time. This was a 10 second google
Originally Posted by http://www.apachefriends.org/en/xampp-windows.html#530
MySQL default installation does not come with a password set.
January 31st, 2009, 02:32 AM
Uninstall it and then reinstall it, it could be because of the installation error.
Comments on this post