IT/Database

MySQL 디폴트 계정

nofence 2022. 3. 9. 17:44

MySQL 설치 시, Data Direcotry 초기화 프로세스의 일환으로 생성되는 계정은 3가지로 분류된다. 

 

1) 'root'@'localhost: 

Database 슈퍼 유저

 

아래 2가지 계정은 MySQL 내부 목적으로 사용된다. 

 

2) 'mysql.sys'@'localhost'

sys 스키마 관리 목적 용도의 계정으로서 패스워드를 갖고 있지 않으며, 해당 계정으로 DB 접속 불가능

 

3)'mysql.sys'@'localhost'

Plugin 관리 목적 용도의 계정으로서 패스워드를 갖고 있지 않으며, 해당 계정으로 DB 접속 불가능

 

Reference :

https://dev.mysql.com/doc/refman/5.7/en/reserved-accounts.html

 

MySQL :: MySQL 5.7 Reference Manual :: 6.2.8 Reserved Accounts

One part of the MySQL installation process is data directory initialization (see Section 2.10.1, “Initializing the Data Directory”). During data directory initialization, MySQL creates user accounts that should be considered reserved: 'root'@'localhos

dev.mysql.com

 

'IT > Database' 카테고리의 다른 글

MySQL Plugin 리스트 확인 명령  (0) 2022.03.09