-
[POSTGRESQL] 설치하기 ,LOCALE 설정코딩/개발일지 2020. 12. 16. 00:01
설치 주소
https://www.enterprisedb.com/downloads/postgres-postgresql-downloads
Download PostgreSQL Database for Windows, Linux and MacOS & 32-bit or 64-bit Versions | EDB
Download PostgreSQL packages or installers free from EDB. Get PostgreSQL for Windows, Linux and MacOS platforms. Download 32-bit or 64-bit versions. Download open-source PostgreSQL now.
www.enterprisedb.com
OS 별로 다운 가능합니다
진행 중인 프로젝트가 9.6.20 버전이라 낮은 버전을 다운받음
보통은 최신 버전 설치
설치하려는데 오류가 뜬다 쉬운 게 하나도 없구만
postgresql microsoft vc++ runtime installer 으로 검색
Can't install PostgreSQL: An error occurred executing the Microsoft VC++ runtime installer on Windows XP
I downloaded installer postgresql-9.0.1-1-windows.exe from the official site, ran it, and then got an error: An error occurred executing the Microsoft VC++ runtime installer What is the reason ...
stackoverflow.com
글 중에 해결책을 발견!!
설치 파일 바로가기를 만들고
바로가기 우클릭 -> 속성 탭 -> 대상(target) 끝에 --install_runtimes 0를 붙이고 적용
요래요래 실행하니 잘 된다.
이 사람은 로그 확인해서 해결했네 대단쓰
슈퍼유저 비번 설정
postgres로 설정했다 그다음 LOCALE 설정
최근에 Django DB를 POSTGRESQL 쓰다가 쿼리문으로 이름 순으로 정렬했는데
정렬이 이상하게 돼서 알아보니 LOCALE을 처음 설정할 때 한국어를 설정해 줘야 잘된다는 것
MYSQL은 그냥 써도 됨
아니면 디비 복사하고 새로 만들어서 로케일 설정 다시 해주고 거기에 복사한 디비 다시 덮어쓰기 해야 됨
설치 조금 걸리는 듯
'코딩 > 개발일지' 카테고리의 다른 글
[Keycloak.part1] Keycloak을 설치해서 로그인을 해보자(3분) (0) 2024.05.04 [Flutter] Flutter로 Android, ios, Web 개발시작하기 Ep.0 (1) 2021.12.31 [POSTGRESQL] 접속, DB생성, DB삭제 및 DJANGO연결 (0) 2020.12.17 [Django 가상환경 설치 실행하기] - DAY02(1) (0) 2020.12.14 [Django 가상환경 설치 실행하기]-DAY01 (0) 2020.12.14