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 createMYSQL_USER = Username for the database you defined in MYSQL_DATABASEMYSQL_PASSWORD = Password for the user created in MYSQL_USERYou 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
Content type
Image
Digest
sha256:29603bc3e…
Size
245.3 MB
Last updated
almost 11 years ago
docker pull reconnix/mysql-56