Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 690 Bytes

README.rst

File metadata and controls

35 lines (26 loc) · 690 Bytes

umysqldb

Warning

This wrapper is no longer recommended or supported. See zodb/relstorage#264

A MySQLdb compatible wrapper around ultramysql.

Usage

>>> import umysqldb
>>> umysqldb.install_as_MySQLdb()
>>> import MySQLdb
>>> MySQLdb is umysqldb
True
>>> conn = MySQLdb.connect(host='localhost')
>>> curs = conn.cursor()
>>> curs.execute("select 1")
1
>>> curs.fetchone()
(1L,)
>>> conn.close()
Build Status