On Wed, 17 Oct 2007 22:34:23 -0500, Drew Jensen <[EMAIL PROTECTED]> wrote:

Alexandro Colorado wrote:
On Wed, 17 Oct 2007 22:05:23 -0500, Drew Jensen <[EMAIL PROTECTED]> wrote:

Alexandro Colorado wrote:
Sorry for the cross posting but I am not sure if the user is as active.

I am having issues connecting to MySQL using JDBC. I get an error message:

Communication links failed.

Anyone have any configruation tips for the latest MySQL?

Hi Alexandro,

What kind of installation are you talking about. Is this a client server, or are you connecting on localhost?

wow quick answer... yes is a Mandriva 2007 box with MySQL 5.0.37 and OOo 2.3 (vanilla)

Well, in this case quick may not account for much, my knowledge about Mandriva was just exhausted when I spelled it ( and even then I cheated and looked at your paper)...sorry..but we can try a general test first.

If you enter 'mysqladmin version' in a command shell|* do you get anything back, or get the error.

I get this output:
mysqladmin version -uroot -p
Enter password:
mysqladmin  Ver 8.41 Distrib 5.0.37, for mandriva-linux-gnu on i586
Copyright (C) 2000-2006 MySQL AB
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL license

Server version          5.0.37
Protocol version        10
Connection              Localhost via UNIX socket
UNIX socket             /var/lib/mysql/mysql.sock
Uptime:                 3 hours 54 min 12 sec

On a localhost MySQL will try to use sockets, and this could be a problem. You can force it to use tcp/ip as a test with
mysqladmin -h 127.0.0.1
***|*|
|*

I am sorry, I don't follow.  if I put that I get the following:
http://pastebin.mozilla.org/220930

So what do i need to force it to use tcp/ip?


--
Alexandro Colorado
CoLeader of OpenOffice.org ES
http://es.openoffice.org

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to