Is it necessary to connect to a postgresql database in order to create a new server?
You always have to connect to a database to run CREATE DATABASE. This is the main raison d'&ecirc;tre for the postgres database.

There is the createdb executable that does this for you automatically.