diff options
author | terminaldweller <thabogre@gmail.com> | 2022-04-23 12:25:24 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2022-04-23 12:25:24 +0000 |
commit | feb01e618438f4cd3e55985c6fe9f303741d43c8 (patch) | |
tree | 950fea62831918499291509d329aa298c574e7ef /docker/mysql.sh | |
parent | update (diff) | |
download | scripts-feb01e618438f4cd3e55985c6fe9f303741d43c8.tar.gz scripts-feb01e618438f4cd3e55985c6fe9f303741d43c8.zip |
updates
Diffstat (limited to '')
-rwxr-xr-x | docker/mysql.sh | 4 |
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 |