Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to acquire MySQLdb
#1
On checking python command prompt for 'import MySQLdb', the below error message is shown.
>>> import MySQLdb
Error:
Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named MySQLdb
I have tried installing the deb connector package - mysql-connector-python_8.0.11-1ubuntu16.04_all.deb via shell command from the url in / path
dpkg -i mysql-connector-python_8.0.11-1ubuntu16.04_all.deb
PLEASE HELP

THANKS IN ADVANCE
Reply


Messages In This Thread
How to acquire MySQLdb - by sunstar20 - Apr-21-2018, 05:29 AM
RE: How to acquire MySQLdb - by Larz60+ - Apr-21-2018, 05:49 AM
RE: How to acquire MySQLdb - by sunstar20 - Apr-21-2018, 05:58 AM
RE: How to acquire MySQLdb - by Gribouillis - Apr-21-2018, 06:55 AM
RE: How to acquire MySQLdb - by sunstar20 - Apr-21-2018, 07:27 AM
RE: How to acquire MySQLdb - by woooee - Apr-21-2018, 05:52 PM
RE: How to acquire MySQLdb - by sunstar20 - Apr-23-2018, 04:36 AM
RE: How to acquire MySQLdb - by Gribouillis - Apr-23-2018, 05:04 AM
RE: How to acquire MySQLdb - by sunstar20 - Apr-23-2018, 05:16 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to acquire an imported file creation time thunderspeed 4 1,980 Sep-23-2021, 04:27 PM
Last Post: Larz60+
  MySQLdb._exceptions.ProgrammingError: not enough arguments for format string. farah97 0 3,373 Jan-22-2020, 03:49 AM
Last Post: farah97
  Can't install MySQLdb/MySQL SirWeeble 0 2,619 Aug-28-2018, 01:07 AM
Last Post: SirWeeble
  MySQLdb, problem with query with user-defined variables buran 6 6,488 Feb-03-2017, 06:16 PM
Last Post: buran

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020