On 09/01/18 09:48, Agnar Renolen wrote:
Then trying with the -U postgres option. root> createuser -U postgres mecreateuser: could not connect to database postgres: FATAL: Peer authentication failed for user "postgres"
You need to specify the host as well, to force a TCP/IP connection: createuser -U postgres -h localhost meThe default pg_hba.conf on Debian uses a Unix socket and peer authentication, hence the error you're seeing.
Ray. -- Raymond O'Donnell :: Galway :: Ireland rod@xxxxxx