[opencms-dev] Configuration wizard fails on FC4 / MySQL
Michael Powell
mwpowell at adelphia.net
Mon Nov 21 16:03:28 CET 2005
Christof,
Thanks for your reply. I saw mention of this in the archives, and I tried this solution. However, I seem to be getting the same error. Must I restart Tomcat or MySQL for this to take effect?
The error I'm receiving is:
Database could not be created!
Error connecting to database using: "jdbc:mysql://localhost:3306/".
-------------------------------------------
java.sql.SQLException: Unable to connect to any hosts due to exception:
java.net.SocketException: Invalid argument or cannot assign requested address **
BEGIN NESTED EXCEPTION ** java.net.SocketException MESSAGE: Invalid argument or
cannot assign requested address STACKTRACE: java.net.SocketException: Invalid
argument or cannot assign requested address at
java.net.PlainSocketImpl.socketConnect(Native Method)
Thanks
Mike
---- Christof Dallermassl <ce-christof.dallermassl at bearingpoint.com> wrote:
> Hi!
>
> I had to change the order in /etc/hosts, so localhost is before
> localhost.localdomain:
> 127.0.0.1 localhost localhost.localdomain opencms
> as otherwise mysql won't let you connect.
>
> try to telnet to port 3306 (mysql) - when it works, the opencms setup worked
> as well.
>
> regards
> Christof
>
> > I am unable to complete the opencms setup wizard on linux fedora core 4.
> >
> > My environment information is as follows:
> >
> > Linux Fedora Core 4
> > MySQL 4.1.11
> > Java 1.4.2_10 SDK
> > OpenCMS 6.02
> > Tomcat 4.1
> >
> > When stepping through the OpenCMS setup wizard, the wizard fails to create
> > the opencms database in mysql with an java exeption error message that says
> > it cannot connect to the mysql database.
> >
> > I am able to login to mysql through the command line and add users and
> > query tables. I have successfully setup opencms on an NT box but I must be
> > missing something with the linux setup. I checked all logs and they did not
> > yeild any information.
> >
> > Is there something basic that I am missing with linux? In the my.cnf file
> > perhaps?
> >
> > Mike
> >
> >
> > _______________________________________________
> > 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
>
>
> _______________________________________________
> 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