Sign inSign up

drtan/mysql

By drtan

•Updated over 8 years ago

MySQL server based on centurylink/mysql image

Image
0

230

drtan/mysql repository overview

⁠Info

This image is bases on centurylink/mysql , just add a sample Employee database

⁠Run

docker run -d -p 3306:3306 -e MYSQL_ROOT_PASSWORD=toor --name mysql drtan/mysql

⁠Execute shell

docker exec -ti mysql bash mysql -u root -p

user : root Password : toor

⁠Environment variables

MYSQL_ROOT_PASSWORD: The password for the root user. Defaults to a blank password MYSQL_DATABASE: A database to automatically create. If not provided, does not create a database. MYSQL_USER: A user to create that has access to the database specified by MYSQL_DATABASE. MYSQL_PASSWORD: The password for MYSQL_USER. Defaults to a blank password.

Tag summary

Content type

Image

Digest

Size

203.7 MB

Last updated

over 8 years ago

docker pull drtan/mysql