fix
Please note: This website includes an accessibility system. Press Control-F11 to adjust the website to people with visual disabilities who are using a screen reader; Press Control-F10 to open an accessibility menu.

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 support@inmotionhosting.com 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