Could you please provide the complete roller-custom.properties. Also
what is the path that it was placed in?
ratnamg wrote:
Yes the connect string says rollerdb.. The posting had a typo
Gabe Wong wrote:
so the connection string in the properties file says
jdbc:mysql://localhost:3306/rollerdb?autoReconnect=true
AND NOT
jdbc:mysql://localhost:3306/roller?autoReconnect=true
as in your previous message?
ratnamg wrote:
I checked that again. The database is called rollerdb and the connection
parameter is also rollerdb
ratnamg wrote:
database name is rollerdb
I can connect to the database using mysql
Gabe Wong wrote:
ratnamg wrote:
Thanks to all that replied. I completed reinstalled Java/JVM/JDK from
sun and
seems to move me forward a little. I am now getting a completely
different
error. I have installed the latest version of the mysql J connector as
well.
To make sure I am not doing anything incorrect I have created a db
with
the
same name as in the documentation i.e., rollerdb and my
roller-custom.properties file has these entries
jdbc.driverClass=com.mysql.jdbc.Driver
jdbc.connectionURL=jdbc:mysql://localhost:3306/roller?autoReconnect=true&useUnicode=true&characterEncoding=utf-8&mysqlEncoding=utf8
jdbc.username=scott
jdbc.password=tiger
FATAL 2008-02-08 14:41:09,287 RollerContext:contextInitialized -
Roller
Weblogger startup failed during app preparation
org.apache.roller.weblogger.business.startup.StartupException: ERROR:
unable
to obtain database connection. Likely problem: bad connection
parameters
or
database unavailable.
at
org.apache.roller.weblogger.business.DatabaseProvider.<init>(DatabaseProvider.java:148)
at
Is the database name roller or rollerdb?
--
Regards
Gabe Wong
NGASI AppServer Manager
JAVA AUTOMATION and SaaS Enablement
http://www.ngasi.com http://www.ngasi.com
NEW! 8.0 - Centrally manage multiple physical servers
--
Regards
Gabe Wong
NGASI AppServer Manager
JAVA AUTOMATION and SaaS Enablement
http://www.ngasi.com http://www.ngasi.com
NEW! 8.0 - Centrally manage multiple physical servers
--
Regards
Gabe Wong
NGASI AppServer Manager
JAVA AUTOMATION and SaaS Enablement
<a href=http://www.ngasi.com>http://www.ngasi.com</a>
NEW! 8.0 - Centrally manage multiple physical servers