Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,205,421 members, 7,992,393 topics. Date: Sunday, 03 November 2024 at 04:58 AM

Connecting To Mysql Database Using Python3? - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Connecting To Mysql Database Using Python3? (1301 Views)

How To Create Mysql Database/python Tkinter Gui To Change Password/Validation En / Trying To Connect To Mysql Using Node. What Am I Doing Wrongly? / I Want To Learn How To Connect Html Form With Mysql Database For A Fee (2) (3) (4)

(1) (Reply) (Go Down)

Connecting To Mysql Database Using Python3? by Nobody: 6:28am On Aug 14, 2018
I've tried MySql-python but it seems it only supports Python2. So I'm looking for any other possible library I can use?
Re: Connecting To Mysql Database Using Python3? by jerflakes(m): 7:09am On Aug 14, 2018
Python is not the only snake in the world, try anaconda, Boa constrictor, rattlesnake, adder ... Them plenty

Or call lalasticlala for secrets about snakes

2 Likes

Re: Connecting To Mysql Database Using Python3? by Humchi(m): 7:52am On Aug 14, 2018
Poster above me is a clown.

Modified: i don't really get you but what i am going to say might help you.
I think you mean that the mysql for your python language doesn't support python 3.

Okay if so, you can check out this www.mysql.com/downloads/

darivie04
Re: Connecting To Mysql Database Using Python3? by Nobody: 4:31pm On Aug 14, 2018
Humchi:
Poster above me is a clown.

Modified: i don't really get you but what i am going to say might help you.
I think you mean that the mysql for your python language doesn't support python 3.

Okay if so, you can check out this www.mysql.com/downloads/

darivie04


There's a project am doing with some guys(a job site) so I've built a crawler and I'm trying to store the information I'm receiving in the mysql database of the website.

And MySQL-python is a python library but from what I checked online it only supports Python2, so I'm looking for alternative libraries.
Re: Connecting To Mysql Database Using Python3? by Humchi(m): 10:41pm On Aug 14, 2018
Darivie04:

There's a project am doing with some guys(a job site) so I've built a crawler and I'm trying to store the information I'm receiving in the mysql database of the website.

And MySQL-python is a python library but from what I checked online it only supports Python2, so I'm looking for alternative libraries.

hello

i think i got what you are saying.

Python libraries i have came across are TWISTED(you can check it out here: www.twistedmatrix.com/trac . Compatible with python 2 or 3 ),
SQLAlchemy(check it out here www.sqlalchemy.org), Ipython and scrapy.

I think you should check out scrapy.
Here is scrapy= www.scrapy.org
Re: Connecting To Mysql Database Using Python3? by dragnet: 8:26am On Aug 18, 2018
Darivie04:

There's a project am doing with some guys(a job site) so I've built a crawler and I'm trying to store the information I'm receiving in the mysql database of the website.

And MySQL-python is a python library but from what I checked online it only supports Python2, so I'm looking for alternative libraries.

download MySQL connector for python from MySQL's website. it supports python 3.

select platform independent

https://dev.mysql.com/downloads/connector/python/
Re: Connecting To Mysql Database Using Python3? by Nobody: 9:57am On Aug 18, 2018
U can pip install any of mysqlclient, pymysql, oursql or mysql-connector

(1) (Reply)

How To Print Diamond With A Frame Using Java / I Need An Expert To Code This For Me / Programming Is My Passion

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 12
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.