mirror of
https://github.com/PyMySQL/mysqlclient.git
synced 2025-08-16 12:27:03 +08:00

sorta functional. The problem with the existing interface (minor) is that it's for 3.21 mysql. Not a huge problem, but it doesn't seem to have a stable maintainer at the moment either. Tommorrow I work on result objects so I can get queries done and stuff. Python 1.5.2b2 (#1, Feb 18 1999, 18:20:08) [GCC egcs-2.90.29 980515 (egcs-1.0.3 re on linux2 Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam >>> import _mysql >>> dir(_mysql) ['__doc__', '__file__', '__name__', 'connect', 'error', 'escape', 'get_client_info'] >>> _mysql.get_client_info() '3.22.19a' >>> c=_mysql.connect(passwd='foobar') >>> dir(c) ['affected_rows', 'closed', 'dump_debug_info', 'errno', 'error', 'get_host_info', 'get_proto_info', 'get_server_info', 'info', 'open'] >>> c <open connection to 'localhost' at 80ddf50> >>> c.get_server_info() '3.22.19a' >>>
3 lines
83 B
Plaintext
3 lines
83 B
Plaintext
*shared*
|
|
_mysql _mysqlmodule.c -L/usr/lib/mysql -I/usr/include/mysql -lmysqlclient
|