5 messages in com.mysql.lists.javaRe: Connection Url
FromSent OnAttachments
Deepak Sharma12 Jan 2000 02:11 
Jonathan Patton12 Jan 2000 05:43 
Deepak Sharma12 Jan 2000 06:58 
Jonathan Patton12 Jan 2000 07:29 
LEBLANC, CLAUDE12 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

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.