Unable to import python-mysqldb
Question
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?
Solution
The package name is "MySQLdb". Case counts.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow