I'm using a cheap shared hosting account. Ensim Control Panel. Linux Server. Tomcat 4.0.3 Tried hello.jsp and helloservlet.class --- OK tomcat works. But I can't connect to mysql from JSP. db host: localhost db name: vaas_db001 db user: vaas db pass: blue ========================== Simple database: CREATE TABLE guest ( name VARCHAR(255), email VARCHAR(255), message VARCHAR(255) ); ========================== Please take a look.
[ November 04, 2003: Message edited by: Dzn Vaas ]
first thing we need is an error message please. without that my first lucky dip guess is that the driver is not installed. download the mysql jconnector driver and install it into WEB-INF, or drop your host an e-mail asking them to install it serverwide for tomcat as most people will want it.
Kim Jong II (North Korea's Dear Leader) said:Nuclear weapons don't kill people, people kill people.
subject: Ensim Linux & Tomcat issues, can't MySQL - anyone?