InMotion Hosting Support Center

MySQLdb example not working...

Category: Python

2012-09-17 11:18 pm EST

Hits: 750
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?

You must login before you can ask a follow up question.

You must login before you can submit an answer.



31,565 Points
2012-09-18 8:29 am EST
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 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

You must login before you can post a comment about this answer.

Like this Question?

Support Center Login

Social Media Login

Social Login Joomla

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!