일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- WebXR
- package-lock.json
- Three.js
- array
- CI/CD
- A-Frame
- web
- EM6
- JavaScript
- npx
- PHP
- PDO
- javscript
- vuetify
- version mismatch
- AR
- 상태관리
- auth0
- Node
- vue-template-compiler
- JS
- promise
- bootstrap
- Component
- VR
- WebVR
- vuex
- vue
- 3d
- aframe
Archives
- Today
- Total
대가는 결과를 만든다
MariaDB 계정 생성 및 권한 설정 본문
반응형
1. 계정 생성
1-1. 내부 접속 계정
create user 'RemoteUser'@'localhost' identified by '$YourPassword';
1-2. 모든 IP 외부접속 계정
create user 'RemoteUser'@'%' identified by '$YourPassword';
1-3. 특정 IP 외부접속 계정
create user 'RemoteUser'@'192.168.2.%' identified by '$YourPassword';
2. 권한 설정
2-1. 내부 접속 계정에 권한 부여
grant all privileges on DB_NAME.* to RemoteUser@'localhost';
2-2. 모든 IP 외부 접속 계정에 권한 부여
grant all privileges on DB_NAME.* to RemotUser@'%';
2-3. 특정 IP 외부 접속 계정에 권한 부여
grant all privileges on DB_NAME.* to RemoteUser@'192.168.2.%';
'개발 > DB' 카테고리의 다른 글
mariadb/mysql의 DB/Table 백업/복원 정리 (0) | 2019.05.22 |
---|
Comments