January 30th, 2009, 09:12 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, 10:03 PM
February 11th, 2009, 03:54 AM
Yes you need to create a user account first.
Default username is set to root, with no password! (Normally)
Glad you solved it!
March 11th, 2009, 09:25 PM
mysql connection from ASP.NET
i am beginner for using xampp.
1) can u tell me how to create a new user account for database?
2)what should i put the connection string in ASP.NET to coonect to mysql database?