Sign inSign up

tommi2day/mysql4

By tommi2day

Updated over 10 years ago

A Mysql4 container, when a mysql4 installation is required by mature applications

Image
5

50K+

tommi2day/mysql4 repository overview

mysql4

A Mysql4 installation running on Docker

In 2015 when Mysql 5.7 ist current, a MySQL4 environment is still needed as requirement from mature programs (CAO-Faktura, ...)

build
git clone https://github.com/Tommi2Day/mysql4.git
cd mysql4
docker build -t tommi2day/mysql4 .
exposed Ports
# mysql  
EXPOSE 3306
Volumes
VOLUME /db # mysql datadir
Environment variables used
MYSQL_ROOT_PASSWORD	mysql4
TZ	Europe/Berlin

Root password will be bound to the wildcard % host to allow login from any network host.

Run

Specify the MYSQL_ROOT_PASSWORD environment variable and a volume for the datafiles when launching a new container, e.g:

docker run --name mysql4 \
--add-host="mysql4:127.0.0.1" \
-e MYSQL_ROOT_PASSWORD=$MYSQL_ROOT_PASSWORD \ 
-v /volume1/docker/mysql:/db \ 
-p 33306:3306 \
tommi2day/mysql4

see run.sh for an example

Tag summary

Content type

Image

Digest

Size

168 MB

Last updated

over 10 years ago

docker pull tommi2day/mysql4