Victoria Reznichenko" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, July 17, 2003 2:36 PM
> Subject: Re: mysql connection error
>
> > "zafar rizvi" <[EMAIL PROTECTED]> wrote:
> > > hi
> > > I am running one centrali
"zafar rizvi" <[EMAIL PROTECTED]> wrote:
> hi
> I am running one centralized mysql server, its runnig fine and conneded with
> localhost and his own ip very fine.
> But when i want to connect him from remote system or other lan system
> it give me errror like that.
>
> [EMAIL PROTECTED] root]# mys
Also make sure that the port is not firewalled.
Cheers
/rudy
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: donderdag 17 juli 2003 9:56
To: zafar rizvi
Cc: [EMAIL PROTECTED]
Subject: Re: mysql connection error
Keep in mind you need 2 things to happen:
A
PROTECTED]>
> To: "zafar rizvi" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Thursday, July 17, 2003 10:11 AM
> Subject: Re: mysql connection error
>
>
> >
> > It says lost error during query.. but I'd be suspect if it even
> > s
AIL PROTECTED]>
To: "zafar rizvi" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, July 17, 2003 10:11 AM
Subject: Re: mysql connection error
>
> It says lost error during query.. but I'd be suspect if it even
> succesfully connected/authenticated..
>
hi
I am running one centralized mysql server, its runnig fine and conneded with
localhost and his own ip very fine.
But when i want to connect him from remote system or other lan system
it give me errror like that.
[EMAIL PROTECTED] root]# mysql -h 192.168.0.63 mysql
ERROR 2013: Lost connection to
It says lost error during query.. but I'd be suspect if it even
succesfully connected/authenticated..
I'd do a quick check first to ensure your mysql server is listening on the
192.xxx interface.. if it's unix, netstat -atn
On Thu, 17 Jul 2003, zafar rizvi wrote:
> hi
> I am running one cen
You might want to look in the crontab to see if rotatelogs is rotating
the logs for mysql. If it is, the mysql database is bounced. The easy
thing to do is just to check the connection and make sure it is open
before using it.
i.e.
if (conn.isClosed()) {
conn=db.getConnection()
}
On Wed, 200
But my program works fine and all those java code i
used to connect to mysql is what i have been taught by
my lecturer it works fine..only things is that i never
leave my application up for more than a day and that
when i discover this problem.
Usually i restart tomcat and it works again but the