Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-8818

Python scripts should depend on mysql.connector instead of MySQLdb

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • Security Level: Public (Anyone can view this level - this is the default.)

    Description

      Our current Python scripts depend on MySQLdb for MySQL connections.

      The best way to go is the native mysql.connector which implements the MySQL protocol in native Python instead of depending on external libraries.

      It would be best if we drop MySQLdb and use mysql.connector since that also supports Python 3.

      Attachments

        Issue Links

          Activity

            People

              widodh Wido den Hollander
              widodh Wido den Hollander
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: