Hi, I'm trying to connect to PostgreSQL using pg_connect: $dbh = pg_connect("host=localhost, dbname=inventory, user=inventoryUser, password=secret"); However, I get an unknow host for localhost: - - - Schnipp - - - Warning: Unable to connect to PostgreSQL server: connectDBStart() -- unknown hostname: localhost - - - Schnapp - - - gethostbyname() has no problems to resolve localhost. This is certainly an oversight on my part, but I couldn't find anything in the books or in the FAQ. tia, Thorsten -- Death to all fanatics!