[postgis] postgresql 설치 후 postgis 설치
·
Database/postgresql
이미 postsql 11버전만 설치한 상태에서 postgis만 설치하는 과정을 거치게 됨 homebrew에서 brew install postgis 이걸 하면 되지만 그럼 최신버전이 설치가된다,,, 최신버전은 postsql11이 지원되지 않으므로 버전을 직접 선택해서 설치해야 함 1. postgis 동작시 필요한 패키지를 설치 brew install postgis 설치 후 postgis에 필요한 패키지 들이 다 설치가 되지만 postgresql14 버전으로 세팅이 잡히기 때문에 이것을 변경해야함. 2. postgis 설치 https://download.osgeo.org/postgis/source/ 압축 풀고 압축 푼 경로로 접속 cd Downloads cd postgis-3.3.2 ./configure -..
[mac postgresql] Connection to localhost:5432 refused. check~
·
Database/postgresql
저번처럼 똑같은 오류가 발생했음 기존에는 이거 하면 됐었는데,, 지금은 아예 다 꼬였는지 안됨 rm -f /opt/homebrew/var/postgresql@11/postmaster.pid 그래서 결국 지우고 다시 깜 그치만 똑같음. 추측으론,, 기존에 postgresql11 구동하는데 icu4c 73.1필요함 그치만 내가 postgresql11을 새로 깔면서 icu4c가 74가 있음 73.1 설치할려고 하는데 설치가 안됨 (구버전이라) 그래서 icu4c reinstall을 함 74다시 깔리면서 icu4c 필요한 프로그램들에 icu4c 설정을 74로 바뀌면서 잘됨,, no data was returned by command ""/opt/homebrew/Cellar/postgresql@11/11.22_1/..
[Mac DB ERROR] Connection to 'postgres' cannot be established.
·
Database/postgresql
os - Mac M2, db - postsql 11버전 사용 이클립스에서 db 쪽이 다 에러가 떠서 dbeaver에 들어가 확인을 해보니 다음과 같은 오류 발생 Connection to 'postgres' cannot be established. 이유: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections. # postgresql 종료 $ brew services stop postgresql@11 # postgresql 상태 확인 $ brew services info postgresql@11 # postmaste..