cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From milamberspace <...@git.apache.org>
Subject [GitHub] cloudstack issue #1610: packaging: Add db.X.driver=jdbc:mysql to db.properti...
Date Sun, 31 Jul 2016 14:30:12 GMT
Github user milamberspace commented on the issue:

    https://github.com/apache/cloudstack/pull/1610
  
    @wido This PR has been include with the latest CS 4.9.0, unfortunately if the last line
of the db.properties file hasn't a return line (i.e. the last line isn't an empty line), the
first line of your patch (db.cloud.driver=jdbc:mysql) will be concatenate to the last line:
    
    example:
    db.cloud.secondsBeforeRetryMaster=3600db.cloud.driver=jdbc:mysql
    db.usage.driver=jdbc:mysql
    db.simulator.driver=jdbc:mysql
    
    And after the management service don't start correctly.
    
    Probably need to be fix in the 4.9.1 and a mention need to be had in the Release Notes.
    
    For trace (and google search), the error messages:
    
    2016-07-31 15:05:10,684 ERROR [c.c.u.d.DriverLoader] (main:null) DB driver type null is
not supported!
    2016-07-31 15:05:10,709 WARN  [c.c.u.d.T.Transaction] (main:null) Unable to load db configuration,
using defaults with 5 connections. Falling back on assumed datasource on localhost:3306 using
username:password=cloud:cloud. Please check your configuration
    com.cloud.utils.exception.CloudRuntimeException: DB driver type null is not supported!
    [...]
    2016-07-31 15:05:10,979 ERROR [c.c.u.d.Merovingian2] (main:null) Unable to get a new db
connection
    java.sql.SQLException: Access denied for user 'cloud'@'localhost' (using password: YES)
    [...]


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message