3 messages in com.mysql.lists.javaRe: Problems connecting to Remote DB| From | Sent On | Attachments |
|---|---|---|
| M. Warner | 11 Nov 2000 21:53 | |
| M. Warner | 11 Nov 2000 23:11 | |
| Stephan Gruschke | 12 Nov 2000 05:48 |
| Subject: | Re: Problems connecting to Remote DB![]() |
|---|---|
| From: | M. Warner (vze2...@verizon.net) |
| Date: | 11/11/2000 11:11:43 PM |
| List: | com.mysql.lists.java |
After further investigation, it appears that the problem is in the /etc/hosts file. There is an entry as follows: 127.0.0.1 localhost.localdomain localhost
If my provider will not change this to: 127.0.0.1 localhost am I hosed?
"M. Warner" wrote:
I am having problems connecting to Remote MySql database (version 3.23.24-beta) running on a Linux 2.2.16 server. I am trying to run an applet which is suppose to make a connection to the database. That connection is refused. I thought maybe this could be some security problem with the applet so I wrote a Java application to run directly on the remote machine via a telnet session. When I execute the application I receive the following: StocksMy: JDBC exception java.sql.SQLException: Invalid authorization specification: Access denied for user: 'ebonyele_m2@localhost.localdomain' (Using password: YES)
I am able to successfully connect to the database via the command line: mysql -u ebonyele_m2 -p ebonyele_campdb
Also, when I run my applet, the MySql server cannot be found on the specified server.
Any idea?? Everything works fine when I run the MySql server and applet from my local system.
Thanks in advance.
-- Peace, Michelle
I am too blessed to be stressed.
http://hrdbdy.home.sprynet.com/
ICQ# 17965901 - http://www.icq.com AOL Screen Name - mdwarne
--------------------------------------------------------------------- Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before posting. To request this thread, e-mail java...@lists.mysql.com
To unsubscribe, send a message to the address shown in the List-Unsubscribe header of this message. If you cannot see it, e-mail java...@lists.mysql.com instead.
-- Peace, Michelle
I am too blessed to be stressed.
http://hrdbdy.home.sprynet.com/
ICQ# 17965901 - http://www.icq.com AOL Screen Name - mdwarne




