mysql connect not working with PHP
- by shikhar
Any idea why the following code is not working
mysql credentials are correct, have verified from command line.
The second connection fails i.e., $conn1 . I am clueless !!!
$conn = mysql_connect($hostname,
$username, $password)
or die("Connecting to MySQL failed" . mysql_error());
$conn1 = mysql_connect($hostname,
$username1, $password1)
or die("Connecting to MySQL failed" . mysql_error());