i am not able to connect to MySQL database after working approx 5 hours on MySQL database… is this any cache problem or some type of limit
i get blank page… with static html only
$hostname_localhost = "localhost";
$database_localhost = "akhai";
$username_localhost = "root";
$password_localhost = "";
$localhost = mysql_pconnect($hostname_localhost, $username_localhost, $password_localhost) or trigger_error(mysql_error(),E_USER_ERROR);
mysql_select_db($database_localhost);
you can get all errors from your script by turning on error reporting (in case it isn’t fatal error)
It will give you your answer
you can also trigger error handler on mysql_connect();
are you sure your mysql database is up and running?