5 messages in com.mysql.lists.javaConnection 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:Connection Url
From:Deepak Sharma (deep@yahoo.com)
Date:01/12/2000 02:11:17 AM
List:com.mysql.lists.java

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