root 권한 접속
- use mysql;
- select host, user from user;
- create user mj@localhost identified by 'password';
- create database DB이름
- grant all privileges on `DB이름`.* to `mj`@`localhost` with grant option;
mj 권한 접속
- create table DEPARTMENT( ... )
- 자유롭게 사용할 수 있다.
'개발' 카테고리의 다른 글
visual studio 깔끔하게 삭제하기 (0) | 2022.05.01 |
---|---|
vmware 하드디스크 용량 늘리기 (0) | 2022.04.26 |
python subprocess.Popen wildcard 이슈 (0) | 2022.02.11 |
Anaconda & Jupyter 설치 (0) | 2021.11.05 |
windows10 jupyter notebook 설치 (0) | 2021.11.04 |
댓글