Python and MySQL

Steve Holden steve at holdenweb.com
Wed Nov 2 17:19:03 EST 2005


Thomas Bartkus wrote:
> "Aquarius" <stefan.kanev at gmail.com> wrote in message
> news:1130948507.082484.199730 at f14g2000cwb.googlegroups.com...
> 
>>I appologize in advance for this strange (and possibly stupid)
>>question.
>>
>>I want to know if there is a way to interface a MySQL database without
>>Python-MySQL or without installing anything that has C files that need
>>to be compiled. The reason for this, is that I want to develop a
>>certain web application, but my hosting provider (!#@$!@#%) isn't very
>>eager to supply Python-MySQL (or any modules to python). Is there an
>>alternative approach I could use to pass around this ridiculos lack of
>>functionality?
> 
> 
> Well, I'm looking at the source for the ever popular MySQLdb library. It
> appears to be nothing but straight up Python source code. I see no reason
> why you couldn't just take these modules and put them in your own private
> directory. There is nothing secret here.
> 
>     But
> 
> As others have already pointed out, after you go to this trouble, your
> hosting provider will still suck!  I'm sure you can you can get lot's of
> suggestions for a suitable replacement.
> 
I have a _mysql.c as a part of my distrbution of MySQLdb. Don't you?

regards
  Steve
-- 
Steve Holden       +44 150 684 7255  +1 800 494 3119
Holden Web LLC                     www.holdenweb.com
PyCon TX 2006                  www.python.org/pycon/




More information about the Python-list mailing list