Connection problem
From: Paul L (NO_SPAM_at_rogers.com)
Date: 12/22/03
- Next message: correro: "Tomcat database connection pool doesn't work. Please help!"
- Previous message: Ronald Cole: "Re: Java Consulting"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 21 Dec 2003 23:14:45 GMT
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 |
| 192.75.71.30 | 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!
- Next message: correro: "Tomcat database connection pool doesn't work. Please help!"
- Previous message: Ronald Cole: "Re: Java Consulting"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|