반응형

 

 

 

(1) MariaDB 서버 설치

# sudo apt install mariadb-server

 

(2) MariaDB-client를 설치

# sudo apt-get install mariadb-client

 

(3) MariaDB 계정 및 보안 설정

# sudo mysql_secure_installation

 

- Switch to unix_socket authentication -> n

- Change the root password? -> n

- Remove anonymous users? -> y

- Disallow root login remotely? -> y

- Remove test database and access to it? -> y

- Reload privilege tables now? -> y

 

 

(4) 접속 테스트 $ sudo mysql -u root -p

 

 

https://this-circle-jeong.tistory.com/190

반응형