Skip to content

Commit

Permalink
Merge pull request #22 from deoren/i2-affirm-git-connector-python
Browse files Browse the repository at this point in the history
Remove ref to MySQLdb, affirm mysql.connector
  • Loading branch information
deoren authored Jun 10, 2018
2 parents e405764 + bca3033 commit 12d724c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
16 changes: 8 additions & 8 deletions automated_tickets_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@
# Modules - Third party
########################################

# Third-party module
# https://pypi.python.org/pypi/MySQL-python/1.2.5
# apt-get install python-mysqldb
#import MySQLdb

# Upstream module, recommended by MariaDB documentation
# https://dev.mysql.com/downloads/repo/apt/
# apt-get install mysql-connector-python
# Upstream module, actively maintained and official recommendation
# of the MariaDB project (per their documentation).
# Available via OS packages (including apt repo) or pip.
#
# Examples:
#
# * sudo apt-get install mysql-connector-python
# * pip install mysql-connector-python --user
import mysql.connector as mysql


Expand Down
6 changes: 5 additions & 1 deletion references.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@

- https://dev.mysql.com/downloads/repo/apt/
- https://dev.mysql.com/doc/mysql-apt-repo-quick-guide/en/
- https://dev.mysql.com/downloads/connector/python/2.1.html

- https://dev.mysql.com/doc/connector-python/en/
- https://pypi.org/project/mysql-connector-python/



### SQLite

Expand Down

0 comments on commit 12d724c

Please sign in to comment.