Changeset 2649
- Timestamp:
- 02/03/06 19:37:13 (19 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/storages/mysqlstorage.py
r2646 r2649 46 46 self.tool.logdebug("Trying to open database (host=%s, port=%s, dbname=%s, user=%s)..." % (host, port, dbname, user)) 47 47 self.database = MySQLdb.connect(host=host, port=port, db=dbname, user=user, passwd=passwd) 48 self.database.autocommit(1) 48 49 self.cursor = self.database.cursor() 49 50 self.closed = 0