Github user nlivens commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/1553#discussion_r64191953
  
    --- Diff: framework/db/src/com/cloud/utils/db/TransactionLegacy.java ---
    @@ -1014,6 +1014,13 @@ public static void initDataSource(Properties 
dbProps) {
                 if (dbProps.size() == 0)
                     return;
     
    +            try {
    +                // Explicitely load JDBC driver because it has been 
removed from the classpath as part of commit 
c22659d76d73f00f41c13776c490e17a50aacd20
    +                Class.forName("com.mysql.jdbc.Driver");
    --- End diff --
    
    Yes, that can be changed to make use of a property value, shall I 
incorporate that change into this PR as well? :)
    A property called : "db.x.type" e.g. db.cloud.type=mysql / 
db.cloud.type=mariadb


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to