-
Notifications
You must be signed in to change notification settings - Fork 0
backend setting
lkoiescg2031 edited this page Oct 31, 2021
·
11 revisions
java version 8
m1 mac bigsur
intellij
spring initializr 로 스프링 초기화
- spring web, mybatis framework, lombok, postgre jdbc, ...
postgres mac 설치
brew install postgres
initdb /usr/local/var/postgres
brew services start postgresql
pg_ctl -D /usr/local/var/postgres -l logfile start
psql: error: connection to server on socket "/tmp/.s.PGSQL.5432" failed: No such file or directory
Is the server running locally and accepting connections on that socket?
A1. 서버를 시작해줌
pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start