it looks like it has nothing to do with MySQL and just with php I'm running a simple script like $x=23;
echo $x; and it displays the number 23 properly, but the page keeps loading like there is something else to load too. ----- Original Message ----- From: "Raditha Dissanayake" <[EMAIL PROTECTED]> To: "Mario" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, January 30, 2004 1:33 PM Subject: Re: [PHP] PHP timeout > Hi, > > 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 > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php