aboutsummaryrefslogtreecommitdiffstats
path: root/docker/mysql.sh
diff options
context:
space:
mode:
Diffstat (limited to 'docker/mysql.sh')
-rwxr-xr-xdocker/mysql.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/docker/mysql.sh b/docker/mysql.sh
new file mode 100755
index 0000000..6216b48
--- /dev/null
+++ b/docker/mysql.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+docker run -d -p 3306:3306 -v mysql-data:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=password mysql:8-debian
+#docker run -it --network some-network --rm mysql mysql -hsome-mysql -uexample-user -p