Postgresql not creating db with “createdb” as superuser, yet not outputting errors [duplicate]

createdb is a command line utility which you can run from bash and not from psql.
To create a database from psql, use the create database statement like so:

create database [databasename];

Note: be sure to always end your SQL statements with ;

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)