데이터베이스

mysql 비번 처음에 만들기

meansal 2018. 4. 26. 20:50

mysql 비번 만들어주기 

/usr/bin/mysql_secure_installation

Enter current password for root (enter for none): enter

그다음에[는 루트 mysql 비번 설정하냐고 물어봄 y누름
Set root password? [Y/n] y

설정할 비번 2번입력
New password:
Re-enter new password:
Password updated successfully!
Reloading privilege tables..
... Success!

Remove anonymous users? [Y/n] y 누름

Disallow root login remotely? [Y/n] y 누름

Remove test database and access to it? [Y/n] y 누름

Remove test database and access to it? [Y/n] y 누름

Reload privilege tables now? [Y/n] y 누름