> Ok I've finally gotten MySQL 3.23.37 installed and operating. Thanks to all
> that helped! The problem I'm now experiencing is when I try to interface
> with MySQL via PHP. MySQL seems to work fine by logging into MySQL directly
> and through a MySQL GUI Client. I get the following error...
>
> Warning: MySQL Connection Failed: Lost connection to MySQL server during
> query...
>
> I'm assuming this is a MySQL issue since everything worked fine before the
> upgrade from MySQL 3.32.22 to MySQL 3.23.37.
>
> I'm doing very simple query to see if it works and no success. Even code
> that worked before I upgraded doesn't work anymore. Here's the test query I
> made... (BTW, the below query works fine via MySQL/MySQL GUI Client)
>
> $szQuery = "SELECT * FROM People WHERE First_Name='adouglas'";
> $dbconnection = mysql_connect("207.195.58.33","webuser","adamacc226");
 
mysql_pconnect() acts very much like
     mysql_connect() with two major differences.
   
First, when connecting, the function would first try to find a
     (persistent) link that's already open with the same host,
     username and password.  If one is found, an identifier for it
     will be returned instead of opening a new connection.
   
Second, the connection to the SQL server will not be closed when
     the execution of the script ends. Instead, the link will remain
     open for future use (mysql_close() will not
     close links established by mysql_pconnect()).

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to