|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
How do I set up TOMCAT so that I can access a MySQL-database from a servlet running on the tomcat server?
Or where can I find information regarding the above? Morten Andersen Denmark |
|
#2
|
|||
|
|||
|
Hi Mortena,
You need to use the JDBC drive to connect from your servlet, or JSP page. Go to http://www.mysql.com/downloads/api-jdbc.html to get the JDBC driver for mysql. Also, check out: http://www.jguru.com/jguru/faq/faqpage.jsp?name=JDBC for common JDBC questions.
__________________
-- John Sturgeon <>< johns@senareider.com http://www.senareider.com/technology.php |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Java Help > MySQL connection from TOMCAT |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|