No connection Error

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Rajesh Kapur

    #1

    No connection Error

    Hello,

    When I connect to the MySQL server (4.0.16 on Linux) using mysql and let the
    tool sit for a couple of minutes, I get the following error.

    mysql> use mysql;
    No connection. Trying to reconnect...
    Connection id: 50791
    Current database: *** NONE ***

    Database changed
    mysql> use mysql;
    Database changed
    mysql>

    The Java programs are displaying a similar error --> "java.sql.SQLEx ception:
    Communication link failure: java.io.EOFExce ption, underlying cause: null"
    No errors in the MySQL logs.
    The max_connections are set to 1000. Why am I losing my connection to the
    database? How can this be fixed?
    Please help!

    Thanks.
    - Rajesh


Working...