Re: Connection Problem JDBC

From: Ike (rxv_at_hotmail.com)
Date: 12/30/03


Date: Tue, 30 Dec 2003 14:02:08 GMT

check your connection string...I'll bet you are using 'localhost' in it,
instead of the internet address of your suse box. presently, you musthave it
set to something like "jdbc:mysql://"+server+.." where 'server' is being set
as 'localhost' and you need to set it to the server name on the
network. -Ike

"Paul L" <NO_SPAM@rogers.com> wrote in message
news:%cEHb.188136$ea%.59029@news01.bloor.is.net.cable.rogers.com...
> Hello, All
>
> I installed mysql server on my suse box. I am trying to connect to it
> through java jdbc application. The
> program does connect to suse server when I run it on localhost. But when I
> run this program from outside
> it gives me "java.sql.SQLException: Invalid authorization specification,
> message from server: "Access
> denied for user: 'ttnm@127.0.0.1' (Using password: YES)". Here is how I
set
> the user table:
>
> +--------------+----------+------------------+
> | Host | User | Password |
> +--------------+----------+------------------+
> | 127.0.0.1 | ttnm | 12c62d5f3ca21044 |
> | % | ttnm | 12c62d5f3ca21044 |
>
>
> The % sign should allow user "ttnm" to connect to server from outside I
> believe but Access is denied...
>
> Does anyone have any ideas on what I am doing wrong?
>
> Thank you in advance!
>
>
>
>
>



Relevant Pages

  • Re: Connection Problem JDBC
    ... > instead of the internet address of your suse box. ... presently, you musthave ... >> I installed mysql server on my suse box. ... >> program does connect to suse server when I run it on localhost. ...
    (comp.lang.java.databases)
  • [SLE] postfix problem
    ... Rebooted mail server and now I get the following errors: ... Connection refused (port 10024) ... What makes the localhost "refuse" to accept mail as I thought ... UNIX since 1989, linux since 1994, SuSE since 1998 * Only reply to the list please* "The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners." ...
    (SuSE)
  • Re: Postfix troubles
    ... > I am using PostFix on SuSE 9.3. ... mydestination = $myhostname, localhost.$mydomain, localhost ... relay_domains = $mydomain ...
    (comp.os.linux.networking)
  • Re: [SLE] Machine Building - Nightmare Alley - Compatibility and Upgrade
    ... On the other side I've been using Gigabyte boards with SuSE for years no ... graphic cards as the server terminal stays in text mode anyway. ... > department) that I will have to install their SuSe 9.1 distribution from ... Disks have a limited life time... ...
    (SuSE)
  • Re: sending mail from localhost to yahoo, gmail, hotmail, etc
    ... desktop computer (localhost) but be able to send email to anyone on ... most likely need to locate php/sasl to use from your server. ... JDS Computer Training Corp. ... However the images don't show up. ...
    (comp.lang.php)