Postgres - FATAL: database files are incompatible with server

后端 未结 7 1957
半阙折子戏
半阙折子戏 2020-12-07 07:20

After restarting my MacBook Pro I am unable to start the database server:

could not connect to server: No such file or directory
Is the server running local         


        
相关标签:
7条回答
  • 2020-12-07 08:09

    brew info postgres will give you hints Like To migrate existing data from a previous major version of PostgreSQL run:

    So in my case removing the old one rm -rf /usr/local/var/postgres.old and upgrading the DB brew postgresql-upgrade-database

    0 讨论(0)
提交回复
热议问题