Closed Thread
Results 1 to 6 of 6

Thread: MySQLdb for Python on Stoli

  1. #1
    danbalthasar is offline x10Hosting Member danbalthasar is an unknown quantity at this point
    Join Date
    Aug 2009
    Posts
    8

    MySQLdb for Python on Stoli

    Hi,

    My previously working python script is now generating import errors - says it can't find MySQLdb. I assume this has something to do with the upgrade and perhaps MySQLdb not being reinstalled... Any chance that it could be reinstalled for stoli?

    Here's the error message and offending portion of the script:

    Code:
        2 import cgi, cgitb; cgitb.enable()
        3 import MySQLdb, datetime, calendar, re
        4 from decimal import Decimal
        5 import zipfile, os
        6 from os.path import join
    MySQLdb undefined, datetime undefined, calendar undefined, re undefined
    <type 'exceptions.ImportError'>: No module named MySQLdb 
          args = ('No module named MySQLdb',) 
          message = 'No module named MySQLdb'
    Thanks!

    Dan
    Last edited by danbalthasar; 01-29-2010 at 02:55 PM.

  2. #2
    masshuu's Avatar
    masshuu is offline Head of the Geese masshuu has a spectacular aura about
    Join Date
    Oct 2007
    Location
    Las Colinas, Tx
    Posts
    2,262

    Re: MySQLdb for Python on Stoli

    The servers are being played with, so not everything may be installed right now. IF you still get this error after corey is done, make a new thread
    though i will bug someone if i can
    Just leading the flock.
    Livewire
    Masshuu ------ carl6969
    descalzo ------------------- Smith6612
    Bryon--------------------------------- Corey
    If you find any post helpful or useful, duck
    \ / This for that post and rep it up.

  3. #3
    danbalthasar is offline x10Hosting Member danbalthasar is an unknown quantity at this point
    Join Date
    Aug 2009
    Posts
    8

    Re: MySQLdb for Python on Stoli

    How long should I wait before opening a new thread on this? It's still not installed, but I'm not really sure when the maintenance is supposed to end.

    I'm not sure if it's related, but I did initially have to ask to have MySQLdb installed on Stoli - it wasn't when I first signed up for the account.

  4. #4
    xav0989's Avatar
    xav0989 is offline Community Public Relation xav0989 is just really nice
    Join Date
    Jul 2008
    Location
    ifk
    Posts
    4,436

    Re: MySQLdb for Python on Stoli

    Check the latest news and server alerts threads. These two should give your a pretty accurate info on which is the current server and which server is next or done.
    Xavier L | Community Public Relations Manager (Free Hosting Support)
    █ Yes, my position is too cool to even exist!
    How am I helping? Rate this post by clicking the icon below! (this is even better than "liking" a post)
    Terms of Service | Acceptable Use Policy | x10Hosting Wiki

  5. #5
    danbalthasar is offline x10Hosting Member danbalthasar is an unknown quantity at this point
    Join Date
    Aug 2009
    Posts
    8

    Re: MySQLdb for Python on Stoli

    Unless I'm looking in the wrong place, it seems like the updates on Stoli should be done by now, but I could very well be wrong.

    I think the python module probably just needs to be reinstalled for Stoli...

  6. #6
    genealogy1 is offline x10Hosting Member genealogy1 is an unknown quantity at this point
    Join Date
    Aug 2009
    Posts
    56

    Re: MySQLdb for Python on Stoli

    My WordPress is down stating : Error connecting to database
    Tried changing config file to read 'localhost' as NOW the MySQL reads 'localhost' instead of the mysql-blah blah etc.

    Initially config for database read 'mysql-stoli.x10hosting.com' and worked fine.

    Doesnt work either now.

    See previous post

Closed Thread

Similar Threads

  1. MySQLdb on Python
    By hardbyte in forum Free Hosting
    Replies: 0
    Last Post: 11-25-2008, 02:03 AM
  2. Python MySQLdb busted still or again
    By pdelaque in forum Free Hosting
    Replies: 0
    Last Post: 02-03-2008, 07:50 AM
  3. Replies: 29
    Last Post: 01-31-2008, 10:50 AM
  4. New MySQLdb problem
    By beyondin in forum Free Hosting
    Replies: 7
    Last Post: 01-06-2008, 07:10 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers