Sign inSign up

reconnix/mysql-56

By reconnix

Updated almost 11 years ago

Image
0

1.1K

reconnix/mysql-56 repository overview

MySQL 5.6

A Docker build which runs just MySQL 5.6.

You can set the root MySQL password by passing the MYSQL_ROOT_PASSWORD as an environment variable (if nothing is passed then the password will be blank, be carefull !!!). You can also create a database by setting and passing the following ...

  • MYSQL_DATABASE = Name of the database to create
  • MYSQL_USER = Username for the database you defined in MYSQL_DATABASE
  • MYSQL_PASSWORD = Password for the user created in MYSQL_USER

You can lauch a continer by using ...

docker run -d -p 3306:3306 -e MYSQL_ROOT_PASSWORD=y0Urp455w0rd -e MYSQL_DATABASE=wibble -e MYSQL_USER=rah -e MYSQL_PASSWORD=y0UrDbP455w0rD reconnix/mysql-56

Once running you can connect with ...

mysql --host=localhost --protocol=TCP -p

Tag summary

Content type

Image

Digest

sha256:29603bc3e

Size

245.3 MB

Last updated

almost 11 years ago

docker pull reconnix/mysql-56