Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C73AA200ACD for ; Mon, 2 May 2016 13:08:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C5B001609A1; Mon, 2 May 2016 13:08:14 +0200 (CEST) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 1DE2C1609B0 for ; Mon, 2 May 2016 13:08:13 +0200 (CEST) Received: (qmail 46225 invoked by uid 500); 2 May 2016 11:08:13 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 46206 invoked by uid 500); 2 May 2016 11:08:13 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 46200 invoked by uid 99); 2 May 2016 11:08:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 May 2016 11:08:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id CBB012C14F9 for ; Mon, 2 May 2016 11:08:12 +0000 (UTC) Date: Mon, 2 May 2016 11:08:12 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-8818) Python scripts should depend on mysql.connector instead of MySQLdb MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 02 May 2016 11:08:15 -0000 [ https://issues.apache.org/jira/browse/CLOUDSTACK-8818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15266410#comment-15266410 ] ASF GitHub Bot commented on CLOUDSTACK-8818: -------------------------------------------- Github user rhtyd commented on the pull request: https://github.com/apache/cloudstack/pull/1054#issuecomment-216203992 LGTM, let's merge if CI has passed; though we need to check installable packages wrt all sort of scripts using it (like cloud-setup-databases and others etc.) > 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 > 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)