problems using mysql_pconnect effectively

This is a discussion on problems using mysql_pconnect effectively within the PHP General forums, part of the PHP Programming Forums category; Hello; I am just getting back into php, and of course I have some sort of problem. Simply, the following ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-18-2004
Fu, Ren-Li
 
Posts: n/a
Default problems using mysql_pconnect effectively

Hello;

I am just getting back into php, and of course I have some sort of
problem. Simply, the following code appears to hang. It is almost as if
the following line of php code never returns:

$this->id = @mysql_pconnect("localhost", "user", "pass") or
MySQL_ErrorMsg("Unable to connect to MySQL server: $this->host :
'$SERVER_NAME'");

I've tried user root with correct password and also user (insert
username here) with correct password. Where should I start looking to
solve this.. thanks..

-frl

p.s. windows xp, apache 2, php5, mysql something or other
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:11 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0