Re: A little problem with the JDBC URL
Posted by: Mark Matthews
Date: December 07, 2004 09:03AM

Yeung,

It looks like you're storing the URL in some XML-based file of some sort. If that's the case, '&' is a reserved character in XML, used to denote the start of entities. If you want to use '&' in XML, you actually need to use '&', so your URL would look something like (note that I've also dropped the 127.0.0.1 and ':3306', as those are defaults anyway):

jdbc:mysql:///pw3?user=test&password=test

-Mark

Options: ReplyQuote


Subject
Written By
Posted
Re: A little problem with the JDBC URL
December 07, 2004 09:03AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.