very important request please
Posted: Sun Dec 20, 2009 5:31 pm
hello every body iam new member in this very good forum .
i want to ask question please when i made connection to the database i found error that i cannot find a soultion for it
my code for my database connection is(
and this is the error that i cannot pass it
(
please i want to know the reasons for this error and how can i solve it ?
thank you .
i want to ask question please when i made connection to the database i found error that i cannot find a soultion for it
my code for my database connection is(
Code: Select all
<?php
$con = mysql_connect("localhost","medo_elgen6681@yahoo.com ","xxxxxxx");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
?>
(
)Warning: mysql_connect() [function.mysql-connect]: [2002] A connection attempt failed because the connected party did not (trying to connect via tcp://localhost:3306) in C:\AppServ\www\conn.php on line 2
Warning: mysql_connect() [function.mysql-connect]: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. in C:\AppServ\www\conn.php on line 2
Fatal error: Maximum execution time of 60 seconds exceeded in C:\AppServ\www\conn.php on line 2
please i want to know the reasons for this error and how can i solve it ?
thank you .