반응형
CREATE USER 'DB'@'IP' IDENTIFIED BY 'PASSWORD';
1) 특정 권한
GRANT SELECT, INSERT, UPDATE, DELETE ON DB .* TO 'DB'@'IP' ;
2) 모든 권한
GRANT ALL PRIVILEGES ON DB .* TO 'DB'@'IP' ;
FLUSH PRIVILEGES;
반응형
'Development' 카테고리의 다른 글
IntelliJ 무료 다운로드, 설치 (1) | 2024.04.01 |
---|---|
[MySQL] smallint / tinyint / int / bigint (0) | 2023.12.18 |
[IntelliJ] 인텔리제이 maven 빌드하는 방법 (0) | 2023.12.05 |
[MySQL] Table, Index size (0) | 2023.11.28 |
Unable to execute HTTP request: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target (0) | 2023.10.24 |