[opencms-dev] Database could not be created! Error connecting to database using: "jdbc:mysql://localhost:3306/"

Kammel, Ulrich, FCI3 ulrich.kammel at eads.com
Thu Jul 28 12:03:26 CEST 2005


Hello Jurvis,

perhaps the solution is also to use 127.0.0.1 instead of localhost.

You should change this also in the following file:
$tomcat_home/webapps/ROOT/setup/database/mysql/database.properties

m.f.G.
                
          Ulrich Kammel
          EADS Deutschland GmbH    
          FCI 3
          Landshuter Strasse 26
          85716 Unterschleissheim, Germany
          Tel.: +49(0)89.3179-4043 
          priv. +49(0)89.315 97 499
          Fax.: +49(0)89.3179-8927
          e-mail: ulrich.kammel at eads.com  

          www.eads.com



-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Jurvis LaSalle
Sent: Thursday, July 28, 2005 5:02 AM
To: opencms-dev at opencms.org
Subject: [opencms-dev] Database could not be created! Error connecting to
database using: "jdbc:mysql://localhost:3306/"

Hi,
	I'm trying to install OpenCMS 6.0.0 on RHEL 4u1 with Tomcat5 and
MySQL 4.1.  I've installed the RH mysql-* packages and used the tomcat5 and
java-sun packages from jpackage.org for a complete rpm installation (albeit
with some rpmbuild action).  I can connect to
http://localhost:8080/opencms/setup and begin the initialization until the
db creation part.  I get the following error when selecting MySQL
4.1 and entering root/pw for setup connection and opencms/pw for OpenCMS
connection and jdbc:mysql://localhost:3306/ for connection
string:

	Database could not be created!  Error connecting to database using: 
"jdbc:mysql://localhost:3306/"

I've searched the list archive and tried the fixes suggested by others with
a similar problem to no avail.  I have created an opencms user in mysql and
verified that i can log in on the localhost as this user.  
I've also increased the max_allowed_packet to 16M in my.cnf.
	Does this error give anyone some clues to what I've missed?  Is
there any other info I can provide?

Thanks for any help,
Jurvis LaSalle




_______________________________________________
This mail is send to you from the opencms-dev mailing list To change your
list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev



More information about the opencms-dev mailing list