Another MySQL Problem
Victor Subervi
victorsubervi at gmail.com
Thu Jun 24 07:47:14 EDT 2010
On Thu, Jun 24, 2010 at 1:56 AM, John Nagle <nagle at animats.com> wrote:
> On 6/23/2010 10:59 PM, Dennis Lee Bieber wrote:
>
>> On Wed, 23 Jun 2010 11:58:24 -0430, Victor Subervi
>> <victorsubervi at gmail.com> declaimed the following in
>> gmane.comp.python.general:
>>
>>
>> When I have this code:
>>>
>> ....
>
>
>> And yes -- it IS an error... You are AGAIN trying to use parameters
>> for SCHEMA entities, not data.
>>
>
> Yes. Please post your CREATE statements, so we can see your
> database schema. If you really have one table per client, you're
> doing it wrong.
>
cursor.execute('create table if not exists clients ('client varchar(100),
clientAppelation varchar(10), clientFirst varchar(20), clientLast
varchar(40), clientEmail varchar(60), pw varchar(10)')
TIA,
beno
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100624/7715bbc4/attachment-0001.html>
More information about the Python-list
mailing list