MariaDB_install
[docker pull & start] docker run -d -p 13306:3306 -e MYSQL_ROOT_PASSWORD=pwd123 -v "c:/dockers/vols/mariadb:/var/lib/mysql" --name mariadb_local mariadb:latest [DB/ User/ Table 생성] $ docker exec -it mariadb_local bash root@6de08339549c:/# mysql -u root -p Enter password: pwd123 MariaDB [(none)]> create database DBT1; Query OK, 1 row affected (0.018 sec) MariaDB [(none)]> create user 'mt1'@'%' id..
DB/MariaDB
2023. 2. 26. 19:48