$ nerdctl run -d -p 3306:3306 -e MYSQL_ROOT_PASSWORD=<패스워드> mysql:latest
$ nerdctl run -d -p 3306:3306 --restart=always -e MYSQL_ROOT_PASSWORD=<패스워드> mysql:latest
$ nerdctl ps -a
2. VS Code - Mysql Client 설치
3. root database 연결
4. database 및 user 생성
CREATE DATABASE `test-board-server`;
CREATE USER 'test-board-user'@'%' IDENTIFIED BY 'test1234@';
GRANT ALL PRIVILEGES ON `test-board-server`.* TO 'test-board-user'@'%';
flush privileges;
SELECT * from user;