1. 목적
2. DATABASE 생성
MariaDB [(NONE)]> SHOW DATABASES; +--------------------+ | DATABASE | +--------------------+ | information_schema | | innodb | | mysql | | performance_schema | +--------------------+ 4 ROWS IN SET (0.005 sec)
MariaDB [(NONE)]> CREATE DATABASE surveydb; Query OK, 1 ROW affected (0.008 sec)
MariaDB [(NONE)]> SHOW DATABASES; +--------------------+ | DATABASE | +--------------------+ | information_schema | | innodb | | mysql | | performance_schema | | surveydb | +--------------------+ 5 ROWS IN SET (0.004 sec)
MariaDB [(NONE)]> USE surveydb; DATABASE changed