views:

193

answers:

1

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?

+7  A: 

The package name is "MySQLdb". Case counts.

Ignacio Vazquez-Abrams
Thank you a lot!
Masi