PostgresSQL安装后配置

1、两个重要命令pg_ctl和psql,使用参数--help查看

2、查看数据库是否运行,pg_ctl status。

3、如果没有自动运行,pg_ctl start。

4、查看现有数据库,psql -l,查看已有数据库实例。拥有者即登陆用户。

 

 

5、连接数据库,psql -d dbname

6、使用pgadmin4操作

posted on 2020-08-05 11:43  DestinyCN  阅读(16)  评论(0编辑  收藏  举报

导航