[Tutor] MySQLdb: at a complete loss

Servando Garcia garcia.servando at gmail.com
Sat Feb 18 20:16:27 CET 2006


w chun wrote:
> On 2/18/06, Servando Garcia <garcia.servando at gmail.com> wrote:
>   
>> Hello List
>>     I am at a complete loss. Here is a recap, just to be clear, I have
>> been unable insert into a database using MySQLdb. I can only view the
>> database.
>>     
>
>
> servando,
>
> sorry to hear about these problems.  it seems highly unlikely that it
> is your script that is not working (esp since you have it running on
> Ubuntu and MacOSX).
>
> have you tried to do a manual insert from the msql cmd from a DOS
> command window?  i'm curious as to whether that works.  if it does,
> then i would further pinpoint that the problem lies in the mySQLdb
> adapter somewhere, otherwise we're still at the same place.
>
> hope this helps,
> -- wesley
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> "Core Python Programming", Prentice Hall, (c)2006,2001
>     http://corepython.com
>
> wesley.j.chun :: wescpy-at-gmail.com
> cyberweb.consulting : silicon valley, ca
> http://cyberwebconsulting.com
>
>   
Yes, I can insert from a mysql command  line. I was thinking that it may 
be the lack of a Microsoft c++ compiler.
 I read some where on the Internet that MySQLdb needed Microsoft C++ ( 
http://mail.zope.org/pipermail/zope-db/2002-August/000826.html  ).  
Surely this could not be the problem.


More information about the Tutor mailing list