On 8/9/05, Brett Chadwick <[EMAIL PROTECTED]> wrote:
> I am attempting to access a MySQL server through a graphical python program I 
> have writing.
> 
> I have successfully made a connection to the database which runs on a Linux 
> server, however I cannot find any syntax/command examples which relate to 
> using the built in _mysql module of python.
> 
> I believe if someone could give me a simple example of how to obtain a cursor 
> and write data to a specific table/column and retrieve information from this. 
> I can elaborate and finish this program.
> 
> Thank you for any help you can provide with this, I know it is relatively 
> simple.

You're not supposed to use _mysql directly. Use MySQLdb instead. Read
the user's guide and PEP-249, and use the built-in documentation as
reference, i.e. pydoc MySQLdb or help('MySQLdb') in the interpreter.
-- 
Computer interfaces should never be made of meat.
http://www.terrybisson.com/meat.html
_______________________________________________
DB-SIG maillist  -  DB-SIG@python.org
http://mail.python.org/mailman/listinfo/db-sig

Reply via email to