Installation, Configuration, & Upgrades  :: 
pn .764 installation: Lost connection to MySQL server during query
 Top

  • I have web host account which runs mysql 5 (godaddy).

    Getting this error during my PostNuke installation:

    Quote

    No database made.
    Warning: mysql_connect(): Lost connection to MySQL server during query in /includes/classes/adodb/drivers/adodb-mysql.inc.php on line 360
    Error connecting to DB
    Program: /install/db.php - Line N.: 45
    Database:
    Error (2013) : Lost connection to MySQL server during query


    Line 360 in adodb-mysql.inc.php is:

    Code

    $this->forceNewConnect,$this->clientFlags);


    Line 45 in db.php is:

    Code

    PN_DBMsgError($dbconn, __file__ , __line__, "Error connecting to db")


    I am able to log in manually and import an SQL file without error.

    Can anyone help?





    edited by: illonavamp, Mar 10, 2007 - 08:02 AM
  • Caveat: I am NOT a MySQL guru....

    I ran into this error once and it turned out to have nothing to do with me or PN or the install - it had to do with server load and timing out in the host end - and was not a problem when I tried the install script the next day.

    My understanding of the 'lost connection' error is that it means that the connection was ended on the server side, which can have lots of causes, including timeouts, bad syntax in the MysQL query, etc.

    Not sure if this will help - but the first thing I'd do (assuming you haven't already) is have a cup of tea and some crakcers, do something else for a couple hours and then try again.

    Peter

    --
    Peace
    ______________________________________
    The commonest cause of problems is solutions.

  • I had a two-day cup of tea. Still same error message today.

    I wonder whether I should contact my web host.
This list is based on the users active over the last 60 minutes.