Sangjun 개발 블로그
    • 게시글
    • db
    • devops
      • docker
    • framework
      • django
    • os
      • linux
      • windows
    • programming
      • golang
      • python
    • algorithm
      • leetcode
    Hero Image
    PostgreDB 설치 (PostgreDB Setup)

    설치환경 : Windows 10 1. PostgreDB 설치 1.1. 설치파일 다운로드 윈도우즈용 설치 파일은 현재 EnterpriseDB사가 배포 Download URL https://www.enterprisedb.com/downloads/postgres-postgresql-downloads 1.2. PostgreSQL 설치 postgresql-[버전]-windows-x64.exe 파일을 실행 Next 클릭 설치할 소프트웨어를 선택하는 대화창(Select Components)에서 아래 2개만 설치 [ ] PostgreSQL Server [ ] Command Line Tools Next 클릭 후, PostgreSQL 서버를 사용하면서 자료저장 위치 지정(default) 기본 데이터베이스 관리자 postgres계정 비밀번호 지정 포트 지정 > 15432(기본포트가 아닌 다른포트번호) 으로 수정후 [Next] 클릭 2.

    September 29, 2020 Read
    Hero Image
    MariaDB SQL 명령어 (MariaDB SQL Command)

    1. database 확인 SHOW DATABASES; 2. database 생성 CREATE DATABASE database_name; 3. 특정 database 접속 USE database_name; 3-1. mysql database 접속 USE mysql; 4. 사용자 확인 MariaDB[mysql] SELECT HOST, USER, PASSWORD FROM USER; 5. 사용자 계정 생성 ‘id’@’localhost’ 이면 로컬에서만 접속 가능 CREATE USER 'user_id'@'%' IDENTIFIED BY 'user_password'; CREATE USER 'user_id' IDENTIFIED BY 'user_password'; 6. 사용자 권한 부여 GRANT ALL PRIVILEGES ON database_name.* TO 'user_id'@'%'; GRANT ALL PRIVILEGES ON database_name.

    September 28, 2020 Read
    • ««
    • «
    • 1
    • 2
    • 3
    • 4
    • 5
    • »
    • »»
    바로가기
    • About
    • Recent Posts
    Contact me:
    • sangjuncha.dev@gmail.com

    Toha Theme Logo Toha
    Copyright 2020. SangjunCha all rights reserved.
    Powered by Hugo Logo