Hi,
Newbie question.
Trying to connect to the mysql running on the same box as my php parser. I have entered:
Host: localhost
User: user1
Password: password1
into the 'user' table of the 'mysql' database. I have also set all the privilege entries to 'Y';
I then did ./mysqladmin reload
I am using this PHP code:
$connection=mysql_connect("localhost","user1","password1") or die("could not connect to mysql");
I get this error back:
Warning: Access denied for user: 'user1@localhost' (Using password: YES) in /var/www/html/admin/test.phtml on line 10
could not connect to mysql
Thanks for your help!