![]() ![]() Or, if you don ' t want/need a background service you can just run: pg_ctl -D start => Summary □ 3,191 files, 36.4MB => Upgrading postgresql data from 11 to 12. To have launchd start 11 now and restart at login: If you need to have 11 first in your PATH run:įor compilers to find 11 you may need to set:Įxport LDFLAGS= " " export CPPFLAGS= " "įor pkg-config to find 11 you may need to set: 6/bin/initdb -locale=C -E UTF-8 /usr/ 11 => Caveatsīrew 11 is keg-only, which means it was not symlinked into /usr/ local,īecause this is an alternate version of another formula. Or, if you don ' t want/need a background service you can just run: pg_ctl -D /usr/local/var/postgres start => Summary □ /usr/local/Cellar/postgresql/12.1: 3,217 files, 37.7MB $ psql psql: error: could not connect to server: 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"? 気づき To have launchd start postgresql now and restart at login: To migrate existing data from a previous major version of PostgreSQL run: Service `postgresql` already started, use `brew services restart postgresql` to restart. ![]() サービスは起動してた $ brew services start postgresql Is the server running locally and acceptingĬonnections on Unix domain socket " /tmp/.s.PGSQL.5432 "? Psql: error: could not connect to server: could not connect to server: No such file or directory ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |