软件下载吧文章资讯

分类分类

postgresql修改完端口后直接psql连接数据库报错的解决

2024-02-08 11:17作者:下载吧

今天修改pg的端口号port改成5435后重启完数据库的时候直接psql进库的时候进不去

[postgres@node2 data]$ psql
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket “/tmp/.s.PGSQL.5432

展开全部

相关文章

说两句网友评论
    我要跟贴
    取消