4 messages in com.mysql.lists.javaRe: JDBC| From | Sent On | Attachments |
|---|---|---|
| Jörgen Ekström (QCS) | 16 May 2001 01:09 | |
| ha...@linux.gelrevision.nl | 16 May 2001 01:22 | |
| Anatol Mayen | 16 May 2001 04:48 | |
| James Bennett | 16 May 2001 10:05 |
| Subject: | Re: JDBC![]() |
|---|---|
| From: | James Bennett (jam...@sirius-images.com) |
| Date: | 05/16/2001 10:05:03 AM |
| List: | com.mysql.lists.java |
hi,
I think that I can think of eighter your path is wrong it should be: for example "jdbc:mysql://localhost/D_BaseName?user=XXX&password=YYYY", if is not that then may be there is something wrong with your priviledge table. //James On Wed, 16 May 2001, [iso-8859-1] Jörgen Ekström (QCS) wrote:
Hi,
I've been developing a Java application using the JDBC driver and when
connecting
to the database using the url:
"jdbc://localhost/finsys?user=root=secret"
I get an autorization error saying that a password was not supplied,
Access denied for user: 'root@localhost' (Using password: NO)
Personally I think the encoding of the user and password in the url string is
quite
strange ("user=root=secret"), but i've taken it direcly from the JDBC
documentation.
Futher, this code worked fine for a couple of months, then suddenly I got this
error.
Some ideas?
/ Jorgen
--------------------------------------------------------------------- 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.




