cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhtyd <...@git.apache.org>
Subject [GitHub] cloudstack pull request: CLOUDSTACK-8818: Use MySQL native connect...
Date Thu, 28 Apr 2016 11:21:53 GMT
Github user rhtyd commented on the pull request:

    https://github.com/apache/cloudstack/pull/1054#issuecomment-215392929
  
    @wido that is true, so will simply fixing the imports and usage work?
    
    I found using `git grep MySQLdb`:
    ```
    client/bindir/cloud-update-xenserver-licenses.in:import MySQLdb
    client/bindir/cloud-update-xenserver-licenses.in:       conn = MySQLdb.connect(host=host,user=username,passwd=password)
    python/lib/cloudutils/db.py:import MySQLdb
    python/lib/cloudutils/db.py:                txn = MySQLdb.Connect(host=self.host, user=self.username,
    python/lib/cloudutils/db.py:                txn = MySQLdb.Connect(host=self.host, user=self.username,
    python/lib/cloudutils/db.py:                db = MySQLdb.Connect(host=self.host, user=self.username,
    python/lib/cloudutils/db.py:                db = MySQLdb.Connect(host=self.host, user=self.username,
    setup/bindir/cloud-migrate-databases.in:import MySQLdb
    setup/bindir/cloud-migrate-databases.in:                self.conn = MySQLdb.connect(host=self.host,
    ```


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