HUB
Sign inSign up

jianglibo/mysql

By jianglibo

•Updated about 11 years ago

mysql distrib 5.1.73

Image
0

410

jianglibo/mysql repository overview

when you run: docker run -d -p 3306:3306 jianglibo/mysql:distrib5173 /opt/run.sh

database will store in container,default user name: admin, default password:123

start with other password:

docker run -d -p 3306:3306 -e "MYSQL_PASS=xxxx" jianglibo/mysql:distrib5173 /opt/run.sh

docker run -d -p 3306:3306 -v /opt/dbmysql:/var/lib/mysql -e “MYSQL_PASS=xxx” --name mysql5173 jianglibo/mysql:distrib5173 /opt/run.sh

when has parameter v, if /opt/db/mysql already has database exist, and database version is compatable with 5.1.73, container will work too. all data and user in your database will keep.

Tag summary
Recent tags
Content type
Image
Digest
sha256:6cf3034fb…
Size
91 MB
Last updated
about 11 years ago
docker pull jianglibo/mysql:5.1.73