[
https://issues.apache.org/jira/browse/CLOUDSTACK-8818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15410795#comment-15410795
]
ASF GitHub Bot commented on CLOUDSTACK-8818:
--------------------------------------------
Github user pdion891 commented on the issue:
https://github.com/apache/cloudstack/pull/1054
Could it be possible the file ``debian/control`` should be updated to
depend on mysql-connector-python deb package instead of python-mysql.connector
?
I have this PR ready for the Debian side:
https://github.com/pdion891/cloudstack/blob/b6ca215b17b7d65fd08cf567c8b584cc76aa7e52/debian/control
I'm just not sure if it's wanted to not have Debian updated to use the new
driver?
Regards,
> Python scripts should depend on mysql.connector instead of MySQLdb
> ------------------------------------------------------------------
>
> Key: CLOUDSTACK-8818
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8818
> Project: CloudStack
> Issue Type: Improvement
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Reporter: Wido den Hollander
> Assignee: 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
(v6.3.4#6332)