mbligh | 8bcd23a | 2009-02-03 19:14:06 +0000 | [diff] [blame] | 1 | import common |
mbligh | 96cf051 | 2008-04-17 15:25:38 +0000 | [diff] [blame] | 2 | import MySQLdb as driver |
mbligh | b7c77d5 | 2007-12-03 19:04:39 +0000 | [diff] [blame] | 3 | import db |
4 | |||||
5 | class db_mysql(db.db_sql): | ||||
jadmanski | 0afbb63 | 2008-06-06 21:10:57 +0000 | [diff] [blame] | 6 | def connect(self, host, database, user, password): |
7 | return driver.connect(host=host, user=user, | ||||
8 | passwd=password, db=database) |