Sign inSign up

unitedasian/mysql

By unitedasian

•Updated over 10 years ago

Mysql server with suitable defaults: innodb file-per-table, utf8mb4, osx support.

Image
0

2.4K

unitedasian/mysql repository overview

⁠Based on official mysql image

This image is based on the official mysql image⁠, so all settings from that image apply.

⁠Customization

Add custom configuration options as files under conf.d. These will be mounted in the server under /etc/mysql/conf,d.

⁠Defaults

⁠innodb
  • file_per-table
⁠character set
  • character_set_server = utf8mb4
  • collation_server = utf8mb4_general_ci

⁠OSX Support

If you are running on OSX and are storing the server's data on the host, the MYSQL server will fail because the user running the server on the container does not match the local user that owns the data directories on the host. To fix this, set OSX environment variable to true when running the container based on this image.

docker run -d -e OSX=true unitedasian/mysql

This is not required if the data is stored in the container itself and not on the host.

Tag summary

Content type

Image

Digest

Size

117.9 MB

Last updated

over 10 years ago

docker pull unitedasian/mysql