728x90
반응형
show dbs
use [DB name will use]
db.createUser({user:"[name]",pwd:"[pw]", roles:["readWrite"]})
show users
728x90
반응형
'농장 > DB' 카테고리의 다른 글
[MySQL] JSON 타입 사용해서 JSON Array 다루기 (0) | 2023.09.16 |
---|---|
H2 Database 설치하고 실행하기 / Spring boot와 연동하는 법 (Maven 기준) (0) | 2021.04.01 |
MongoDB - Roboto 3T 사용법 (0) | 2021.03.15 |
SQLite autoincrement resetting (0) | 2021.01.06 |
명령 프롬포트(콘솔)에서 MySQL 접속, 실행하기 (0) | 2020.11.26 |