cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CLOUDSTACK-8818) Python scripts should depend on mysql.connector instead of MySQLdb
Date Fri, 22 Apr 2016 08:45:13 GMT


ASF GitHub Bot commented on CLOUDSTACK-8818:

Github user bhaisaab commented on the pull request:
    @wido we'll need to fix codebase wide mysqldb usage in python scripts and build both rpms/deb
to show installation, setting up of db and setting up mgmt server works out of the box. Other
than this, I'll also need to fix a python based migration script used in dynamic roles PR
that also uses the current mysqldb. We'll also need to fix travis to install the new dependency
and fix marvin's dbclient to use it instead of mysqldb.

> Python scripts should depend on mysql.connector instead of MySQLdb
> ------------------------------------------------------------------
>                 Key: CLOUDSTACK-8818
>                 URL:
>             Project: CloudStack
>          Issue Type: Improvement
>      Security Level: Public(Anyone can view this level - this is the default.) 
>            Reporter: Wido den Hollander
>              Labels: mysql, python, python3
> 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.

This message was sent by Atlassian JIRA

View raw message