티스토리 뷰
Command Line Client에 접속하던지, UI에서 하던지... 알아서 할것.
mysql> grant [권한들] on db명.* to '[user명]'@'localhost' identified by '[user명]';
mysql> grant [권한들] on db명.* to '[user명]'@'%' identified by '[user명]';
예를 들면...
mysql> grant select, insert, update, delete, create, drop on my_site.* to 'jsp_user'@'localhost' identified by 'jsp_user';
mysql> grant select, insert, update, delete, create, drop on my_site.* to 'jsp_user'@'%' identified by 'jsp_user';
제대로 생성되었는지 확인하고 싶다면...
Dos Command 창
> mysql -u jsp_user -p my_site;
아직까지는 쉽다. 재밌다.
'Database' 카테고리의 다른 글
| [Oracle] system 패스워드 분실시 (0) | 2015.01.28 |
|---|---|
| [Oracle]포트변경 (0) | 2015.01.28 |
| 함수적 종속성 (0) | 2014.06.14 |
| 정규화 (0) | 2014.06.14 |
| [MySQL] 데이터베이스 생성 (0) | 2014.02.26 |
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- golang
- go
- war
- centos8
- enum
- CentOS
- Codable
- SWIFT
- docker
- Linux
- intellij
- github
- Spring
- Gradle
- rxswift
- Xcode
- MySQL
- Kotlin
- ubuntu
- nodejs
- windows10
- git
- android
- Windows
- cocoapods
- php
- Python
- Java
- tomcat
- ios
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 31 |
글 보관함