메뉴 건너뛰기

2017.04.12 18:07

MySQL 계정생성하기

조회 수 5008 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

MySQL 계정생성하기

루트 권한으로 접속
# mysql -u root -p

사용하고자 하는 데이타베이스 생성
mysql> create database db명;

계정에게 db명의 database 사용의 모든권한을 준다
mysql> grant all privileges on db명.* to 계정@localhost identified by "암호";

로컬외의 외부접속을 위한 설정
mysql> grant all privileges on db명.* to 계정@"%" identified by "암호";

권한을 다시 로드한다
mysql> flush privileges;


  1. 테이블 타입(Heap, MyIsam, InnoDB...) 변경하기

    Date2017.04.12 Views5272
    Read More
  2. MySQL 쿼리 결과 값 세로로 보기

    Date2017.04.12 Views6053
    Read More
  3. MySQL root 패스워드 분실시

    Date2017.04.12 Views5252
    Read More
  4. MySQL 에서 랜덤(random)으로 레코드 읽어오기

    Date2017.04.12 Views5727
    Read More
  5. MySQL 손상된 테이블 복구

    Date2017.04.12 Views5330
    Read More
  6. [MySQL] 백업 및 복구

    Date2017.04.12 Views5392
    Read More
  7. MySQL의 alter table 명령어 모음

    Date2017.04.12 Views5105
    Read More
  8. mySQL 에서 날자표현 방법

    Date2017.04.12 Views5365
    Read More
  9. MySQL에서 원격 IP 접속 허용하기

    Date2017.04.12 Views5621
    Read More
  10. MySQL에서 사용자 권한 주기 (grant 명령어)

    Date2017.04.12 Views5885
    Read More
  11. MySQL 계정생성하기

    Date2017.04.12 Views5008
    Read More
  12. 실수로 삭제한 mysql DB 복구방법

    Date2017.04.12 Views7316
    Read More
  13. IN 연산자

    Date2016.12.23 Views5809
    Read More
  14. 필드 변경, 추가, 삭제

    Date2016.12.23 Views6085
    Read More
  15. 데이타베이스 또는 테이블 정보

    Date2016.12.23 Views5534
    Read More
  16. 테이블 복사, 테이블 비우기

    Date2016.12.23 Views5783
    Read More
  17. IMPORT

    Date2016.12.23 Views5440
    Read More
  18. 덤프할때 한글깨짐 해결

    Date2016.12.23 Views5635
    Read More
  19. Create Procedure

    Date2016.12.23 Views6012
    Read More
  20. 테이블 체크, 백업

    Date2016.12.23 Views7478
    Read More
Board Pagination Prev 1 2 3 4 5 6 7 Next
/ 7

하단 정보를 입력할 수 있습니다

© k2s0o1d4e0s2i1g5n. All Rights Reserved