I am using the following to connect to a MySQLServer:
*<?php
$link = mysql_connect ("161.58.208.151", "dominic", "password")
or die ("Could not connect");
print ("Connected successfully");
mysql_close ($link);
?>
*PHP is installed and functioning fine.
*I am able to login to MySQL through Putty using the username and password
*I am getting the following error:
"Warning: Access denied for user: 'dominic@dominic.tempdomainname.com' (Using password: YES) in /usr/local/etc/httpd/vhosts/jetbase/connectmysql.php4 on line 2"
Any thoughts? Thanks.
(see www.jet-base.com/connectmysql.php4)