
2、当postgres服务器没有启动时,psql命令会报错:

3、解决办法:通过命令

4、启动postgres服务器。收到信息

5、表示成功启动。然后通过

6、切换到用户postgres。postgres用户下使用psql命令可进入数据库操作。另:停止postgres服务器:

7、重启postgres服务器:

时间:2024-10-20 11:31:21
2、当postgres服务器没有启动时,psql命令会报错:
3、解决办法:通过命令
4、启动postgres服务器。收到信息
5、表示成功启动。然后通过
6、切换到用户postgres。postgres用户下使用psql命令可进入数据库操作。另:停止postgres服务器:
7、重启postgres服务器: