You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "daiyin (JIRA)" <ji...@apache.org> on 2017/05/02 00:21:04 UTC

[jira] [Created] (CLOUDSTACK-9897) Unable to get a new db connection

daiyin created CLOUDSTACK-9897:
----------------------------------

             Summary:  Unable to get a new db connection
                 Key: CLOUDSTACK-9897
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9897
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Install and Setup
    Affects Versions: 4.9.0
         Environment: centos 6.8+mysql 5.1.73
            Reporter: daiyin


when i startup the managerserver by cloudstack-setup-management there is an error. In the tomcat6 log,it says that 
ERROR [c.c.u.d.Merovingian2] (main:null) (logid:) Unable to get a new db connection
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
But i can creat connection by use root or cloud and it is all right when i configure the database  when i use the command 
cloudstack-setup-databases cloud:password@localhost --deploy-as=root:founderbn




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)