Did I find the right examples for you? yes no

All Samples(1949)  |  Call(0)  |  Derive(0)  |  Import(1949)
MySQLdb - A DB API v2.0 compatible interface to MySQL.

This package is a wrapper around _mysql, which mostly implements the
MySQL C API.

connect() -- connects to server

See the C API specification and the MySQL documentation for more info
on other items.
(more...)

src/p/y/pydanny-event-notes-HEAD/Pycon2009/internet/examples/ch21/alt/ushuffle_dbPRE25.py   pydanny-event-notes(Download)
    elif db == 'mysql':
        try:
            import MySQLdb
            import _mysql_exceptions as DB_EXC 
        except ImportError, e:

src/m/m/mmc-HEAD/mds/agent/contrib/userquota/networkquota_example/applyTCrules.py   mmc(Download)
# with warnings.catch_warnings():
#     warnings.simplefilter("ignore", DeprecationWarning)
import MySQLdb
 
uri = "ldap://localhost:389"

src/p/y/pydanny-event-notes-HEAD/Pycon2009/internet/examples/ch21/ushuffle_so.py   pydanny-event-notes(Download)
    def __init__(self, db, dbName):
        import MySQLdb
        import _mysql_exceptions
        url = 'mysql://localhost/%s' % DBNAME
 

src/p/y/pydanny-event-notes-HEAD/Pycon2009/internet/examples/ch21/ushuffle_sa.py   pydanny-event-notes(Download)
    def __init__(self, db, dbName):
        import MySQLdb
        import _mysql_exceptions
        MySQLdb = pool.manage(MySQLdb)
        url = 'mysql://db=%s' % DBNAME

src/p/y/pydanny-event-notes-HEAD/Pycon2009/internet/examples/ch21/ushuffle_db.py   pydanny-event-notes(Download)
    elif db == 'mysql':
        try:
            import MySQLdb
            import _mysql_exceptions as DB_EXC 
        except ImportError, e:

src/r/c/rcat-HEAD/src/examples/demoapp/server/mapper/chatmapper.py   rcat(Download)
from data.dataconn import Mapper
import MySQLdb as mdb
import logging
from threading import Timer
import warnings

src/c/l/clearsilver-0.10.1/clearsilver/python/examples/base/odb_test.py   clearsilver(Download)
## -----------------------------------------------------------------------
 
import MySQLdb
import odb_mysql
import sqlite

src/c/l/clearsilver-0.10.1/clearsilver/python/examples/base/odb_mysql.py   clearsilver(Download)
 
import odb
import MySQLdb
 
class Database(odb.Database):

src/n/b/nbascrape-HEAD/libscrape/config/db_example.py   nbascrape(Download)
import MySQLdb
 
# Pass these data structures as params to the DB class
dbconn_prod = {
    'user': 'username_for_database',

src/e/c/ecm-2.1.6/ecm/admin/instance_template/examples/phpbb2_sync.py   ecm(Download)
import base64
import urllib2
import MySQLdb
import logging
from logging import handlers

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next