Well, I've fix the problem by myself! :-)

The connector work fine, the proplem is in the code.

We don't need to specify the db account in the connection url, but when we
create the connectio:

String connection = DriverManager.getConnection(dbUrl, dbuser, dbpassword);

to reassume: for install the connector just put it in the webapp's
/WEB-INF/lib directory.

CU!



-----Messaggio originale-----
Da: Massimiliano PASQUALONI
[mailto:[EMAIL PROTECTED] 
Inviato: giovedì 10 maggio 2007 12.37
A: 'Tomcat Users List'
Oggetto: R: Msql Connector/J

Hey!

After my congratulations no one can help me?

Even though I specify the user and password in the connectionURL: 
connectionURL =
"jdbc:mysql://localhost:3306/bi?user=myuser;password=mypassword" 

my Tomcat return: 
"Error 500: javax.servlet.ServletException: Access denied for user
''@'localhost' (using password: NO)"


Some idea?!?!?



=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Scanned with Copfilter Version 0.83beta3a (ProxSMTP 1.4)
AntiVirus: ClamAV 0.88.4/3225 - Thu May 10 10:08:21 2007 by Markus Madlener
@ http://www.copfilter.org

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,
e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Scanned with Copfilter Version 0.83beta3a (ProxSMTP 1.4)
AntiVirus: ClamAV 0.88.4/3225 - Thu May 10 10:08:21 2007
by Markus Madlener @ http://www.copfilter.org

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to