Make sure the mysql service is started and make sure that there isn't anything else competing for the same port (3306) beyond that i am afraid i cannot help as i am not a windows expert.
Mario wrote:
both php and mysql is on the same machine.
even running the following timesout: <?php
if (!($mylink = @mysql_pconnect("localhost","*****","******")))
print "<h3>Problem connecting to the database server</h3>\n";
exit();
}
mysql_select_db("xxxxxxx") or die ("<h3>Problem connecting to the database</h3><br>Description:" . mysql_error());
?>
-- Raditha Dissanayake. ------------------------------------------------------------------------ http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader Graphical User Inteface. Just 150 KB | with progress bar.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php