2

I installed python-mysqldb using

sudo apt-get install python-mysqldb

I have tried to use it unsuccessfully. The following commands do not work in Python prompt:

import python-mysqldb

Or

import mysqldb

How can I solve this problem?

1 Answer 1

11

The package name is "MySQLdb". Case counts.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.