Networking Forums

Networking Forums > Computer Networking > Linux Networking > Can't connect to MySQL from remote

Reply
Thread Tools Display Modes

Can't connect to MySQL from remote

 
 
Cédric Pillonel
Guest
Posts: n/a

 
      10-01-2003, 08:13 AM
I have some problems with MySQL 3.23.52 on RedHat Linux 8.0.

I can connect to mysql when I am on the same machine but I can't connect to
it from another machine. Here is the error I get:

> mysqladmin -u cedric -h gdvi02 version

mysqladmin: connect to server at 'gdvi02' failed
error: 'Lost connection to MySQL server during query'

What's the problem ?

Cédric Pillonel



 
Reply With Quote
 
 
 
 
Puff Addison
Guest
Posts: n/a

 
      10-01-2003, 08:40 AM
Cédric Pillonel wrote:

>I have some problems with MySQL 3.23.52 on RedHat Linux 8.0.
>
>I can connect to mysql when I am on the same machine but I can't connectto
>it from another machine. Here is the error I get:
>
>
>
>>mysqladmin -u cedric -h gdvi02 version
>>
>>

>mysqladmin: connect to server at 'gdvi02' failed
>error: 'Lost connection to MySQL server during query'
>
>What's the problem ?
>
>Cédric Pillonel
>
>
>
>
>

Are you sure it is set up to listen on the network? The default
configuration is often to listen only on Unix socket.

Check the configration file for the skip-networking option.

--
J. D. Addison
email (E-Mail Removed)

 
Reply With Quote
 
Paul Lutus
Guest
Posts: n/a

 
      10-01-2003, 08:45 AM
C�ric Pillonel wrote:

> I have some problems with MySQL 3.23.52 on RedHat Linux 8.0.
>
> I can connect to mysql when I am on the same machine but I can't connect
> to it from another machine. Here is the error I get:
>
>> mysqladmin -u cedric -h gdvi02 version

> mysqladmin: connect to server at 'gdvi02' failed
> error: 'Lost connection to MySQL server during query'
>
> What's the problem ?


Most likely permissions. You must grant a combination of user and host
permissions to access MySQL and the database. It is all spelled out in the
MySQL documentation.

--
Paul Lutus
http://www.arachnoid.com

 
Reply With Quote
 
Jan Csisko
Guest
Posts: n/a

 
      10-01-2003, 04:53 PM
Hi,

might be a permission issue, as merntioned but the error could also
indicate a networking
or timeout issue. are you expecting a large recordset to be returned ?
If so, you might
want to try otherwise. Furthermore, you might want to give the ODBC
Drivers available at
http://www.openlinksw.co.uk a go.

Hth,
Regards,
Jan


Paul Lutus <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>...
> C ric Pillonel wrote:
>
> > I have some problems with MySQL 3.23.52 on RedHat Linux 8.0.
> >
> > I can connect to mysql when I am on the same machine but I can't connect
> > to it from another machine. Here is the error I get:
> >
> >> mysqladmin -u cedric -h gdvi02 version

> > mysqladmin: connect to server at 'gdvi02' failed
> > error: 'Lost connection to MySQL server during query'
> >
> > What's the problem ?

>
> Most likely permissions. You must grant a combination of user and host
> permissions to access MySQL and the database. It is all spelled out in the
> MySQL documentation.

 
Reply With Quote
 
 
 
Reply

Thread Tools
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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Remote Desktop: The client could not connect to the remote compute crazyglue Windows Networking 6 02-24-2009 08:26 AM
"The client could not connect to the remote computer. Remote connections..." - Server 2003 Maestro Windows Networking 4 10-25-2007 06:58 PM
"The client could not connect to the remote computer. Remote connections..." - Server 2003 Maestro Windows Networking 5 10-17-2007 01:14 AM
MySql remote connectiion / access host problem. MS Linux Networking 2 07-14-2004 02:25 PM
MySql remote connectiion / access host problem. MS Linux Networking 0 07-14-2004 12:14 PM



1 2 3 4 5 6 7 8 9 10 11