Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save amitkumar24487024/d352759b7530c2d521f8f4b1ecdc8eb6 to your computer and use it in GitHub Desktop.
Save amitkumar24487024/d352759b7530c2d521f8f4b1ecdc8eb6 to your computer and use it in GitHub Desktop.

Revisions

  1. amitkumar24487024 created this gist Apr 3, 2025.
    9 changes: 9 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    https://www.datacamp.com/tutorial/set-up-and-configure-mysql-in-docker


    to run a mysql image : docker run -d -e MYSQL_ROOT_PASSWORD=24487024 -p 3307:3306 --name amitmysql mysql

    to login into mysql bash :docker exec -it amitmysql bash


    tmysql -u root -p