Fnavicat连接postgresql时出现
ATAL: role "postgresql" does not exist
创建一个postgresql数据库
createdb postgresql
如果出现:
FATAL: role "postgres" does not exist
FATAL: role "postgres" does not exist
createdb: could not connect to database template1: FATAL: role "postgres" does not exist
加上-U参数来指定一个存在的role
createdb postgresql -U postgresql
再次连接就可以了
ATAL: role "postgresql" does not exist
创建一个postgresql数据库
createdb postgresql
如果出现:
FATAL: role "postgres" does not exist
FATAL: role "postgres" does not exist
createdb: could not connect to database template1: FATAL: role "postgres" does not exist
加上-U参数来指定一个存在的role
createdb postgresql -U postgresql
再次连接就可以了