[opencms-dev] How to use user at localhost connect to mysql

Alexander Wallace aw at avatartechnology.com
Thu Aug 4 16:44:02 CEST 2005


What is the error you get? I find it likely that user at localhost has no 
permissions to connect, but the error will tell you the actual problem, can 
you share it here?

On Thursday 04 August 2005 12:18 am, rill wrote:
> hello!
> 
> 	I install opencms6.0 use user@%, now I want to use user at localhost to 
connect mysql, but connect always failed! Why, what I must do!
>     I modify opencms.properties as:
> 
> # name of the JDBC driver
> db.pool.default.jdbcDriver=org.gjt.mm.mysql.Driver
> 
> # URL of the JDBC driver
> db.pool.default.jdbcUrl=jdbc:mysql://localhost:3306/opencms
> 
> # optional parameters for the URL of the JDBC driver
> db.pool.default.jdbcUrl.params=?useUnicode\=true&characterEncoding\=UTF-8
> 
> # user name to connect to the database
> db.pool.default.user=user
> 
> # password to connect to the database
> db.pool.default.password=userpassword
> 
> # the URL to make the JDBC DriverManager return connections from the DBCP 
pool
> db.pool.default.poolUrl=opencms:default
> 
> # the maximum number of objects that can be borrowed from the pool
> db.pool.default.maxActive=25
> 
>         
> Best Regards			
>         
>         
> -rill
> 



More information about the opencms-dev mailing list