cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Seif Eddine Jemli <seifeddineje...@gmail.com>
Subject db.properties
Date Fri, 22 Feb 2013 20:53:12 GMT
Hi,
I couldn't connect to cloudstack UI.(invalid password/username)

*ERROR [db.Transaction*
*.Transaction] (main:null) Unexpected exception:
com.mysql.jdbc.**exceptions.jdbc**4.MySQLNonTrans**ientConnectionE**xception:
Could not create connection to database server. Attempted reconnect 3
times. Giving up.
       at sun.reflect.Nat**iveConstructorA**ccessorImpl.new**Instance0(Nativ
**e Method)*
*see that*
*Could not create connection to database server. Attempted reconnect 3
times. Giving up.*
*give me the contents*
*of the following file*

when i opened the /etc/cloud/management/db.properties

# management server clustering parameters, change cluster.node.IP to the
machine IP address
db.cloud.
minEvictableIdleTimeMillis=240000
db.cloud.removeAbandoned=false
# in which the management server(Tomcat) is running
cluster.node.IP=127.0.0.1
db.usage.host=localhost
db.cloud.validationQuery=SELECT 1
# Encryption Settings
# CloudStack database settings
db.usage.maxActive=100
db.cloud.username=cloud
db.cloud.logAbandoned=true
cluster.servlet.port=9090

db.cloud.name=cloud
db.usage.port=3306
# CloudStack database tuning parameters
db.cloud.host=localhost
db.cloud.port=3306
db.cloud.testOnBorrow=true
db.cloud.password=ENC(Ed/aatdABXZdYC/8DdZ+uw==)
# CloudStack database SSL settings

db.cloud.timeBetweenEvictionRunsMillis=40000
db.cloud.removeAbandonedTimeout=300


db.cloud.autoReconnect=true


# usage database tuning parameters
db.cloud.keyStorePassword=
db.cloud.maxWait=10000
db.cloud.poolPreparedStatements=false
db.cloud.maxIdle=30
db.usage.maxWait=10000
db.cloud.testWhileIdle=true
db.cloud.trustStorePassword=
db.cloud.maxActive=250
db.cloud.keyStore=
db.usage.maxIdle=30
db.usage.username=cloud
db.cloud.useSSL=false
db.cloud.trustStore=
db.cloud.encryption.type=file
# usage database settings
db.cloud.encrypt.secret=ENC(4bXCPZbPto7SZju6LRsgsYiGq1t3Lg8+)
db.cloud.url.params=prepStmtCacheSize=517&cachePrepStmts=true
db.usage.name=cloud_usage
db.usage.password=ENC(E3HoASDI9Axcu35qF8Cmaw==)




the pasword is encrypted:


what should i do??

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message