core 5 php mysql

Derek Hopkins derek.hopkins at sympatico.ca
Thu Jul 20 15:41:44 UTC 2006


Hi List

	Where can I find the right values to put in this piece of PHP code to
link to MySQL.  At the moment if Can't Connect

<?
$db_host = "localhost";
$db_user = "mysql";
$db_pass = "*****";
$db_name = "scan2";

$conn = mysql_connect($db_host,$db_user,$db_pass);
if (!$conn) {
 echo "Could not connect to MySQL server!";
 exit;
}

I have hid the real value of the PW I think it is   Where can I find the
values for each field on my system please.         




More information about the fedora-list mailing list