[opencms-dev] Installation Problem: Server configuration deni es access to data source

Claus Bitten Claus.Bitten at framfab.de
Wed Dec 24 15:05:02 CET 2003


Hi,

Look into your mysql-access configuration and check if your user
root is allowed to connect from the opencms-system.
(mysql -u root, use mysql, select * from user... - check the output)
mysql checks incoming connections for user *and* host.
So a user root can have access from localhost, but not from one specific IP.
(btw opencms should not use user root...)

regards,
Claus
 

-----Original Message-----
From: Ritwik Datta
To: opencms-dev at opencms.org
Sent: 24.12.2003 11:23
Subject: [opencms-dev] Installation Problem: Server configuration denies
access to data source

Thanks for your prompt reply regarding mime types. Earlier I have
installed Open CMS with Orcale DB.Now I am trying to configure Open CMS
5.0.0 with mysql. But while Database and and table creation I am getting
following error.
 
Could no connect to database via: jdbc:mysql://localhost:3306/
java.sql.SQLException: Server configuration denies access to data source
-------------------------------------------
java.lang.NullPointerException

I tested mysql with the root password I assigned using mysqladmin -u
root -p, so it looks like mysql is setup correctly.However when trying
to create the database in opencms I get that message. So in installation
screen, I am giving Database Server connection user name :root and
password: <ROOT_PASSWORD>. and same as in case of open cms database.Can
you please send accross a work around?
Warm regards,
Ritwik
 


  _____  

Do you Yahoo!?
Yahoo! Photos - Get your photo on the big screen in Times Square
<http://us.rd.yahoo.com/evt=21486/*http://f1.pg.photos.yahoo.com/ph//sps
implenol?.file=ny_ts_splash.html> 



More information about the opencms-dev mailing list