Public | Automated Build

Last pushed: 2 years ago
Short Description
Image containing mysql. Optimized to be linked to another image/container.
Full Description

docker-mysql

Example usage:
$ docker run -d -p 3306:3306 -e MYSQL_ROOT_PASSWORD=pass@word01 centurylink/mysql

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

Comments (2)
sl5net
3 months ago

cant connect from host by using:

user = root
PASSWORD = pass@word01
IP = 192.168.99.100:222:3306
ping takes < 1ms

is the user "root"?

bailey86
2 years ago

Do we not need to

EXPOSE 3306

in the Dockerfile?