Hello
> $ createdb -h 127.0.0.1 test
Then issue $ createdb test
If you do not specify a host, localhost is assumed.
Conni