• Post Reply Bookmark Topic Watch Topic
  • New Topic

Ensim Linux & Tomcat issues, can't MySQL - anyone?

 
Dzn Vaas
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Tim Baker
Ranch Hand
Posts: 541
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!