Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

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
Docker Pull Command
Owner
reconnix
Source Repository

Comments (0)