1. 등록 계정 확인
mysql> select host,user from mysql.user;
2. 계정 등록
create user 'id'@'%' identified by 'pwd';
3. 계정 권한
mysql> grant all privileges on *.* to 'external_user'@'%'; // external_user - 모든 권한 부여
mysql> flush privileges;
4. 계정 삭제
mysql> drop user 'id'@'%'; // % 등록 서버 / ( localhost .. )'Server > 기타' 카테고리의 다른 글
| [Linux] 권한, Permission 정리 (0) | 2022.04.27 |
|---|---|
| [Linux] 기본 명령어 정리 (0) | 2022.04.27 |
| [Linux] CentOS 7 FTP ( ISSUE : 550 Create directory operation failed ) (0) | 2022.04.05 |
| [ Linux ] Centos 7 timemachine / 백업 및 복구 (0) | 2022.04.05 |
| [Linux] CentOS 7 FTP ( ISSUE : 500 OOPS vsftpd: refusing to run with writable root inside chroot() ) (0) | 2022.04.04 |