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

rill itjiang at 163.com
Thu Aug 4 07:18:31 CEST 2005


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