5 messages in com.mysql.lists.javaRe: Connection Url| From | Sent On | Attachments |
|---|---|---|
| Deepak Sharma | 12 Jan 2000 02:11 | |
| Jonathan Patton | 12 Jan 2000 05:43 | |
| Deepak Sharma | 12 Jan 2000 06:58 | |
| Jonathan Patton | 12 Jan 2000 07:29 | |
| LEBLANC, CLAUDE | 12 Jan 2000 07:59 |
| Subject: | Re: Connection Url![]() |
|---|---|
| From: | Jonathan Patton (jpat...@bju.edu) |
| Date: | 01/12/2000 05:43:32 AM |
| List: | com.mysql.lists.java |
Is mysql on both machines, and what is the error message that you are getting with the one machine not recognizing the password?
At 10:11 AM 1/12/00 -0000, Deepak Sharma wrote:
Hello java-list,
I searched the documentation first but could not find any obvious information.
I have two machines, one live on the internet and one not.
The configurations for OS/java/mysql/jdbc driver version etc. of the machines are the same (The hardware is slightly different).
On my intranet machine I must use a connection url of ...
jdbc:mysql://localhost/test?user=deepak=deepak123
which works fine but this same setup does not work on the internet machine I get a permissions problem with mysql not recognising the password.
On the internet machine I must use following URL
jdbc:mysql://localhost/test?user=deepak&password=deepak123
This is not a problem now that I have worked out what is going on but I am curious why one should work one way and not the other.
Thoughts?
-Deepak
__________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com
--------------------------------------------------------------------- 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.
Jonathan Patton Bob Jones University IT Development Group




