GitHub user nlivens opened a pull request:

    https://github.com/apache/cloudstack/pull/1553

    Explicitely load JDBC driver before creating our MySQL connections

    Solution to the mailing thread titled "MySQL : No suitable driver found for 
jdbc:mysql".
    It doesn't harm that we explicitely load the MySQL driver, and for those 
which would use a commons-dbcp version < 1.4 this would fix it as well. Since 
JDBC 4.0, the JDBC driver can auto-register itself, but for some weird cases 
(like mine), it's not working. Therefore we need to explicitly load the JDBC 
driver.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/nlivens/cloudstack mysql_driver_issue

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cloudstack/pull/1553.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1553
    
----
commit 492c7f2612fdc022d78cd1064ca81e47eb201c04
Author: Nick Livens <nick.liv...@nuagenetworks.net>
Date:   2016-05-20T08:20:48Z

    Explicitely load JDBC driver before creating our MySQL connections

----


---
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