Last active
September 21, 2017 07:46
-
-
Save anthonyray/dd9895504040a0e54278 to your computer and use it in GitHub Desktop.
Revisions
-
anthonyray revised this gist
Sep 21, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -14,4 +14,4 @@ pip install mysql-connector-repackaged To check the installation is working ```` python import mysql ```` -
anthonyray revised this gist
Jan 28, 2015 . No changes.There are no files selected for viewing
-
anthonyray renamed this gist
Jan 28, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -12,6 +12,6 @@ pip install mysql-connector-repackaged ```` To check the installation is working ```` python import mysql ``` -
anthonyray created this gist
Jan 28, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,17 @@ I had a hard time installing a python connector to a MySQL database. I tried to install MySQLdb but had problems during compilation. Fortunately, MySQL release a connector written in Python. I wanted to install it in a virtual environnement. To do so : ``` venv environnement cd environnement source bin/activate pip install mysql-connector-repackaged ```` To check the installation is working ````python import mysql ```