Page 1 of 1

connecting to mysql database using php

PostPosted: 11. July 2013 12:33
by samuel igo
I keep getting this error on xampp after trying to connect to mysql:

Warning: mysql_connect()[function.mysql-connect]: Access denied for user 'usename'@'localhost'
(Using password: YES) in C:\location.


How do I get my connection to work?