File: //opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/dialects/mysql/mysqldb.pyo
�
��4]c @ s� d Z d d l Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d d
l m Z d d l m
Z
d e f d
� � YZ d e f d � � YZ d e f d � � YZ
d e f d � � YZ e Z d S( s
.. dialect:: mysql+mysqldb
:name: mysqlclient (maintained fork of MySQL-Python)
:dbapi: mysqldb
:connectstring: mysql+mysqldb://<user>:<password>@<host>[:<port>]/<dbname>
:url: https://pypi.org/project/mysqlclient/
Driver Status
-------------
The mysqlclient DBAPI is a maintained fork of the
`MySQL-Python <http://sourceforge.net/projects/mysql-python>`_ DBAPI
that is no longer maintained. `mysqlclient`_ supports Python 2 and Python 3
and is very stable.
.. _mysqlclient: https://github.com/PyMySQL/mysqlclient-python
.. _mysqldb_unicode:
Unicode
-------
Please see :ref:`mysql_unicode` for current recommendations on unicode
handling.
Using MySQLdb with Google Cloud SQL
-----------------------------------
Google Cloud SQL now recommends use of the MySQLdb dialect. Connect
using a URL like the following::
mysql+mysqldb://root@/<dbname>?unix_socket=/cloudsql/<projectid>:<instancename>
Server Side Cursors
-------------------
The mysqldb dialect supports server-side cursors. See :ref:`mysql_ss_cursors`.
i����Ni ( t
MySQLCompiler( t MySQLDialect( t MySQLExecutionContext( t MySQLIdentifierPreparer( t TEXTi ( t sql( t utilt MySQLExecutionContext_mysqldbc B s e Z e d � � Z RS( c C s$ t | d � r | j S| j j Sd S( Nt _rowcount( t hasattrR t cursort rowcount( t self( ( sT /opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/dialects/mysql/mysqldb.pyR >