Enter current password for root (enter for none): 비번입력
Switch to unix_socket authentication [Y/n] y
Change the root password? [Y/n] y
New password: 사용할 db 비번입력 Re-enter new password: 사용할 db 비번입력
②.⑤.② Remove anonymous users? n
익명 사용자 삭제/사용,
n 선택: mysql만으로도 접속 가능.
y선택: -u 옵션 필수
②.⑤.③ Disallow root login remotely? n
localhost 외 외부 ip에서 root 아이디로 원격접속 비활성화 여부.
y 선택: 원겹접속 불가
②.⑤.④ Remove test database and access to it? n
test db를 삭제여부
②.⑤.⑤ Reload privilege tables now? y
지금까지 설정한 내용을 즉시 반영 여부
②.⑤.⑥ # MariaDB 보안설정 완료 문구
All done! If you've completed all of the above steps, your MariaDB
installation should now be secure.
Thanks for using MariaDB!
# MariaDB의 설치와 보안설정 완료되면 위 문구가 출력된다.