[opencms-dev] Trouble connecting to MySQL during wizard setup

Eelco Hillenius eelco.hillenius at topicus.nl
Thu Jan 30 18:40:23 CET 2003


what is the name of your mysql server? Try using localhost or (servername)
instead of tomcat.

Eelco

-----Original Message-----
From: owner-opencms-dev at www.opencms.org
[mailto:owner-opencms-dev at www.opencms.org]On Behalf Of David De Graff
Sent: donderdag 30 januari 2003 18:12
To: opencms-dev at opencms.com
Subject: [opencms-dev] Trouble connecting to MySQL during wizard setup


When trying to set up OpenCms with the setup wizard, I get the following
error at the database creation step:

>>
Could no connect to database via: jdbc:mysql://tomcat:3306/
java.sql.SQLException: Cannot connect to MySQL server on tomcat:3306. Is
there a MySQL server running on the machine/port you are trying to connect
to? (java.security.AccessControlException)

-------------------------------------------
java.lang.NullPointerException

-------------------------------------------
<<

I'm running Tomcat 4.04 with Sun JDK 1.4.1 and MySQL 3.23.55 on Debian 3. I
have tried the connection to 'localhost' and using the actual hostname of
the server, and have also made sure to enable networking for the MySQL db.
Still no connection after these changes.

Any ideas as to what might be wrong and how to troubleshoot it?

Is there a simple and definite way to test that jdbc is installed correctly
and is configured to enable connections to MySQL?

Thanks for any help.

Dave De Graff




More information about the opencms-dev mailing list