MySQLdb example not working...

Avatar
  • Answered
It appears that "import MySQLdb" in python fails. Followed instructions from the "How to use Python to connect to database" article.

I removed the MySQLdb references and a simple "hello world" works fine.

So I am wondering if MySQLdb library is missing?
Avatar
Scott
Hello noble, We would need a bit more information from you in order to troubleshoot the issue. For instance, the copy of the file you are importing, any error messages you are getting, and the cpanel password so we can enter and test the script. You would need to contact our support department [email protected] with that information. Be sure to also validate your account with either the last 4 digits of the credit card on file, or the current Account Management Panel (AMP) password. Best Regards, Scott M