I cannot access the mysql database using apache
I am using the simple code to allow this to test, which is unsuccessful:
<?php
// Connect Test
echo 'TEST';
mysql_connect("127.0.0.1", "host" , "users", "553597") or die(mysql_error());
mysql_select_db("users") or die(mysql_error());
?>
I am getting the following error:
Warning: mysql_connect(): Access denied for user 'host'@'localhost' (using password: YES) in C:\xampp\htdocs\New folder (5)\test.php on line 16
Access denied for user 'host'@'localhost' (using password: YES)
I have tried changing the password for both the host user and new user accounts I have created using the localhost:8080/phpMyadmin tools.
as well as tried changing the config.inc.php $cfg['Servers'][$i]['password'] = ''; value, which only caused me to be unable to access the phpMyadmin.
I am using host 8080.
I cannot find any help for this in the forums, as I have tried all the solutions i have found, to no avail...
Thank you for any help you can offer