Show
Ignore:
Timestamp:
05/03/06 11:44:41 (18 years ago)
Author:
jerome
Message:

Explicitely sets the default TCP ports to use, because it seems that once again, MySQL fails to be smart...

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/storages/pgstorage.py

    r2830 r2874  
    4949            port = int(port) 
    5050        except ValueError :     
    51             port = -1         # Use PostgreSQL's default tcp/ip port (5432). 
     51            port = 5432         # Use PostgreSQL's default tcp/ip port (5432). 
    5252         
    5353        self.tool.logdebug("Trying to open database (host=%s, port=%s, dbname=%s, user=%s)..." % (host, port, dbname, user))