Re: MySQLdb and MySQL stored functions

2009-02-04 Thread Nick Craig-Wood
kurt.forrester@googlemail.com wrote: > Any ideas on how to suppress the warning output: > __main__:1: Warning: No data - zero rows fetched, selected, or > processed You can use the warnings module to suppress these I would have thought. -- Nick Craig-Wood -- http://www.craig-wood.com/ni

Re: MySQLdb and MySQL stored functions

2009-02-03 Thread Steve Holden
kurt.forrester@googlemail.com wrote: > On Feb 3, 8:28 am, Dennis Lee Bieber wrote: >> On Mon, 2 Feb 2009 23:28:05 -0800 (PST), >> kurt.forrester@googlemail.com declaimed the following in >> comp.lang.python: >> >>> However, when I try to use the MySQLdb module it returns an incorrect >>> v

Re: MySQLdb and MySQL stored functions

2009-02-03 Thread kurt . forrester . fec
On Feb 3, 8:28 am, Dennis Lee Bieber wrote: > On Mon, 2 Feb 2009 23:28:05 -0800 (PST), > kurt.forrester@googlemail.com declaimed the following in > comp.lang.python: > > > However, when I try to use the MySQLdb module it returns an incorrect > > value (it returns 1). > > > I wish to use the DB

MySQLdb and MySQL stored functions

2009-02-02 Thread kurt . forrester . fec
Hello All, I am running - Ubuntu 8.10 - Python 2.5.2 - MySQLdb (1, 2, 2, 'final', 0) - MySQL Server/Client 5.0.67 I am trying to write an authentication script for a python application that connects to a MySQL database. The database has a table named `user` which has the fields `id`, `alias` and

MySQLdb and MySQL stored functions

2009-02-02 Thread Kurt Forrester
Hello All, I am running - Ubuntu 8.10 - Python 2.5.2 - MySQLdb (1, 2, 2, 'final', 0) - MySQL Server/Client 5.0.67 I am trying to write an authentication script for a python application that connects to a MySQL database. The database has a table named `user` which has the fields `id`, `alias