Changeset 2874 for pykota/trunk
- Timestamp:
- 05/03/06 11:44:41 (19 years ago)
- Location:
- pykota/trunk/pykota/storages
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/storages/mysqlstorage.py
r2863 r2874 44 44 port = int(port) 45 45 except ValueError : 46 port = -1# Use the default MySQL port46 port = 3306 # Use the default MySQL port 47 47 48 48 self.tool.logdebug("Trying to open database (host=%s, port=%s, dbname=%s, user=%s)..." % (host, port, dbname, user)) -
pykota/trunk/pykota/storages/pgstorage.py
r2830 r2874 49 49 port = int(port) 50 50 except ValueError : 51 port = -1# Use PostgreSQL's default tcp/ip port (5432).51 port = 5432 # Use PostgreSQL's default tcp/ip port (5432). 52 52 53 53 self.tool.logdebug("Trying to open database (host=%s, port=%s, dbname=%s, user=%s)..." % (host, port, dbname, user))