Public Repository

Last pushed: 6 months ago
Short Description
MySQL 5.7.17
Full Description

MySQL 5.7.17

$docker run --name mysql-container -p 3306:3306 -it -d -e MYSQL_ROOT_PASSWORD='P@ssw0rd;' mysql:5.7.17
$docker run -it --link mysql-container:mysql --rm mysql sh -c 'exec mysql -h"$MYSQL_PORT_3306_TCP_ADDR" -P"$MYSQL_PORT_3306_TCP_PORT" -uroot -p"$MYSQL_ENV_MYSQL_ROOT_PASSWORD"'

mysql> grant all on . to root@'%' identified by 'P@ssw0rd;';
mysql> flush privileges;

Port : 3306
User : root/ {default root password}

Docker Pull Command
Owner
zealtech

Comments (0)