Public Repository

Last pushed: a year ago
Short Description
mysql server
Full Description
  • create volume to persist data

    docker volume create --name mysql-data

  • initiate the container

    docker run -d -v mysql-data:/var/lib/mysql narfeta/mysql:latest

  • login to the container and create root user for remote access

    • asterisk after ON not showing! ON asterisk . asterisk
      GRANT ALL ON . TO root@'%' IDENTIFIED BY 'some_pass' WITH GRANT OPTION; FLUSH PRIVILEGES;
Docker Pull Command
Owner
narfeta

Comments (0)