[opencms-dev] opencmsuser into opencms.properties when finish the OpenCms installation

maria.freixes_graells at alcatel.es maria.freixes_graells at alcatel.es
Tue Jun 27 16:03:33 CEST 2006



    Hello to all,

    I've just finished to install OpenCms, and the last note says:

    Don't forget to add the new user and password to all connect strings
    of the database in your |opencms.properties| file. Only the new user
    can now connect to the OpenCms tables.

    What does it means?

    Anyone could help me to stablish a good opcencms.properties file?

    Thanks and best regards,
    Maria

    Now, it's:

    [root at ESBARD0E01404 config]# more opencms.properties
    #
    # Configuration of the driver manager
    ################################################################################
    #
    driver.vfs=db
    driver.project=db
    driver.user=db
    driver.workflow=db
    driver.backup=db



    #
    # Declaration of database pools
    ################################################################################
    #
    db.pools=default

    #
    # Configuration of the default database pool
    ################################################################################
    #

    # 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=?characterEncoding\=UTF-8

    # user name to connect to the database
    db.pool.default.user=root

    # password to connect to the database
    db.pool.default.password=alcatel

    # 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

    # the maximum amount of time before throwing an exception when the
    pool is exhau
    sted
    db.pool.default.maxWait=2000

    # the maximum number of objects that can sit idled in the pool
    db.pool.default.maxIdle=10

    # action to take when the pool is exhausted {grow|block|fail}
    db.pool.default.whenExhaustedAction=block

    # connections will be validated before they are borrowed from the pool
    db.pool.default.testOnBorrow=false

    # the query to validate connections
    # MSQL version (also MS SQL): SELECT 1
    # Oracle version            : SELECT 'validationQuery' FROM DUAL
    db.pool.default.testQuery=

    #
    # Configuration for statement pooling
    ################################################################################
    #
    db.statements.default.pooling=true
    db.statements.default.pooling=true
    db.statements.default.maxActive=200
    db.statements.default.maxWait=2000
    db.statements.default.maxIdle=100
    db.statements.default.whenExhaustedAction=block

    #
    # Configuration of the database driver manager
    ################################################################################
    #
    db.name=mysql_41

    db.vfs.driver=org.opencms.db.mysql.CmsVfsDriver
    db.vfs.pool=opencms:default
    db.vfs.sqlmanager=org.opencms.db.mysql.CmsSqlManager

    db.project.driver=org.opencms.db.mysql.CmsProjectDriver
    db.project.pool=opencms:default
    db.project.sqlmanager=org.opencms.db.mysql.CmsSqlManager

    db.user.driver=org.opencms.db.mysql.CmsUserDriver
    db.user.pool=opencms:default
    db.user.sqlmanager=org.opencms.db.mysql.CmsSqlManager

    db.workflow.driver=org.opencms.db.mysql.CmsWorkflowDriver
    db.workflow.pool=opencms:default
    db.workflow.sqlmanager=org.opencms.db.mysql.CmsSqlManager

    db.backup.driver=org.opencms.db.mysql.CmsBackupDriver
    db.backup.pool=opencms:default
    db.backup.sqlmanager=org.opencms.db.mysql.CmsSqlManager

    db.cos.pool=opencms:default

    #
    # Ethernet address used for UUID generation
    # Server name used for various messages
    ################################################################################
    #
    server.ethernet.address=00:0D:9D:51:78:3E
    server.name=OpenCmsServer

    #
    # Enable/Disable OpenCms Setup Wizard
    # The wizard sets the flag to false after the setup.

    # To use the wizard again, reset it manually to true.
    # By setting no value, wizard can always be used.
    ################################################################################
    #
    wizard.enabled=false








More information about the opencms-dev mailing list