Re: PHP timeout
| From: | Raditha Dissanayake | Date: | Fri, 30 Jan 2004 11:33:44 +0000 |
| Subject: | Re: PHP timeout | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-176329@lists.php.net to get a copy of this message | ||
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/megauploadLean and mean Secure FTP applet with | Mega Upload - PHP file uploader Graphical User Inteface. Just 150 KB | with progress bar.