[pythonvis] Re: newbi with a question

  • From: Jean-Claude Provost <jc.provost@xxxxxxxxxxxxxx>
  • To: pythonvis@xxxxxxxxxxxxx
  • Date: Fri, 3 Feb 2017 19:38:12 -0500

Hi Ben,


is it any different from pymysql? This is the latest thing I tried & I don't seem to be able to establish a decent connection, in spit of my following the exact prescription in the documentation... Besides, pymysql is said to be compatible with MySQL 4.1 which is quite a few version behind what is recommended (MySQL 5.7.17).


I'm getting a bit discouraged... If I don't get ahead with practical/encouraging results soon, I think I'll start swaying towards PHP:-) But if you tell me it stands a better chance of being what the doctor ordered, I'll gladly oblige...


Thanks a bunch,


Cheers!


Jean-Claude Provost
On 2/3/2017 3:25 PM, Ben Humphreys wrote:

Jean-Claude,

Try this from command line:

pip install MySQL-python

Ben

At 07:22 PM 1/31/2017, you wrote:
Hi all,


I'm new to Python but not quite new to programming... I have worked on mainframes way back when & I have used a variety of script languages, C, ColdFire & others...


My question today concerns Python & MySQL. I have installed MySQL 5.7 server on my Windows 7 computer, created my database & tables, then populated it all with the necessary data.


I wanted to use Python to build an interface to that MySQL database. I had installed Python 3.6 but when MySQL installed, it complained that it required Python 3.4 so refused to install the proper plug-in...


Will I have to install an earlier version of Python to satisfy the MySQL wizzard requirement or do I have a workable way to use a MySQL database with Python 3.6...


Thank you in advance for sharing your musings:-)


Cheers,


Jean-Claude Provost
List web page is //www.freelists.org/webpage/pythonvis

To unsubscribe, send email to pythonvis-request@xxxxxxxxxxxxx with "unsubscribe" in the Subject field.

List web page is //www.freelists.org/webpage/pythonvis

To unsubscribe, send email to pythonvis-request@xxxxxxxxxxxxx with "unsubscribe" in the Subject field.

List web page is //www.freelists.org/webpage/pythonvis

To unsubscribe, send email to pythonvis-request@xxxxxxxxxxxxx with "unsubscribe" in the Subject field.

Other related posts: