post gre sqlが起動したい
SQLの勉強のためにMacOS Mojaveで
brew install postgresqlで入れました。
しかし
psql -U postgres 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"?
となってしまい、起動することができなくて困っています。
こちらは試しましたがcould not find a file or directory, permission deniedになってしまいます。
rm /usr/local/var/postgres/postmaster.pid rm: /usr/local/var/postgres/postmaster.pid: No such file or directory
sudo mkdir /var/pgsql_socket/
場所は
/usr/local/Cellar/postgresql/11.2_1
にありました
brew remove postgresql
brew install postgresqlは効果無かったです。
GW中にSQL覚えて起きたいので助けてくださいお願いします....
回答3件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2019/05/03 00:45
2019/05/04 12:03