PDA

View Full Version : [JAVA] - Problema connessione database con Tomcat


shev82
13-07-2006, 10:47
Sto realizzando un WebService utilizzando Axis e TomCat. Devo implementare la connessione con un database MySql, che in locale mi funziona bene, solamente che non so dove devo mettere il database sotto Tomcat e quale sia la stringa per connettermi correttamente. Per il locale uso:

Connection conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/prenotazione","root","admin");

Qualcuno sa come aiutarmi ?? grazie !!!

Hardware Upgrade Forum Database Error
Database Error Database error
The Hardware Upgrade Forum database has encountered a problem.

Please try the following:
  • Load the page again by clicking the Refresh button in your web browser.
  • Open the www.hwupgrade.it home page, then try to open another page.
  • Click the Back button to try another link.
The www.hwupgrade.it forum technical staff have been notified of the error, though you may contact them if the problem persists.
 
We apologise for any inconvenience.