Hi Experts,
I am getting this error message, "Error connecting to mysql"
whenever i am running the below scripts:
<?php
$dbhost = 'localhost';
$dbuser = 'root';
$dbpass = 'password';
$conn = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error connecting to mysql');
$dbname = 'petstore';
mysql_select_db($dbname);
?>
I've just set-up everything and still getting such error...
By the way, I am using Windows Vista and IIS 7.0, Could you please help me? suggestions please, recommendations...