Changeset 3129
- Timestamp:
- 12/21/06 16:27:57 (18 years ago)
- Location:
- pykota/trunk
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/CREDITS
r3045 r3129 84 84 - Andrew Ross - Parakeet Print Quota : Provided a patch to allow the 85 85 configuration files directory to be set at run time. 86 - Georger Araujo - Fixed a charset problem with MySQL. 86 87 87 88 ============================================================== -
pykota/trunk/pykota/storages/mysqlstorage.py
r3010 r3129 47 47 48 48 self.tool.logdebug("Trying to open database (host=%s, port=%s, dbname=%s, user=%s)..." % (host, port, dbname, user)) 49 self.database = MySQLdb.connect(host=host, port=port, db=dbname, user=user, passwd=passwd )49 self.database = MySQLdb.connect(host=host, port=port, db=dbname, user=user, passwd=passwd, charset="utf8") 50 50 try : 51 51 self.database.autocommit(1)