MySQLdb example not working...

Category: Python

noble
Asked:
2012-09-17 11:18 pm EST

Hits: 727
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.

OTHER ANSWERS

0

Scott
Staff
18,098 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 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

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

Like this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

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: support@InMotionHosting.com
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!