MySQLdb issue

MySQLdb issue

Postby mjenn200 » Mon Aug 12, 2013 1:21 pm

I have a python script (I did not write it), but there are two ways this script can be launched:

1. command line
2. from pressing a button on a custom web app

If I run from the command line, all fine.

If I launch the script from the app, I can see from the logs that python code is executing, but this time it cannot find the module 'MySQLdb'.

Why can this module be found when running from the command line, but not the webapp?

All help really appriciated!
Posts: 1
Joined: Mon Aug 12, 2013 1:17 pm

Re: MySQLdb issue

Postby micseydel » Mon Aug 12, 2013 4:28 pm

Answering this question correctly would require looking at your logs, configuration and/or code.
Due to the reasons discussed here we will be moving to on October 1, 2016.

This forum will be locked down and no one will be able to post/edit/create threads, etc. here from thereafter. Please create an account at the new site to continue discussion.
User avatar
Posts: 3000
Joined: Tue Feb 12, 2013 2:18 am
Location: Mountain View, CA

Return to Web Development

Who is online

Users browsing this forum: No registered users and 1 guest