How to Set Up MySQL Database with Docker

Поделиться
HTML-код
  • Опубликовано: 22 окт 2024

Комментарии • 82

  • @dencythomas5477
    @dencythomas5477 7 месяцев назад +5

    the only docker video which made sense to me

    • @absprog
      @absprog  7 месяцев назад

      I am glad you found this helpful👍

  • @JOY-df2oz
    @JOY-df2oz Год назад +6

    Your explanation is perfect.
    How problems arise, what to do, why to do it, and moreover, it's simple.

    • @absprog
      @absprog  Год назад

      Thank you, I appreciate your positive feedback

  • @ota-ke
    @ota-ke Год назад +2

    This tutorial was just what I needed to crack a bug I was facing. Thanks very much

    • @absprog
      @absprog  Год назад +1

      Glad it helped Joseph

  • @hasaniqbal813
    @hasaniqbal813 9 месяцев назад

    My friend, this is one of the best short no-frills video, to the point. Very effective and helpful. THANK YOU!

    • @absprog
      @absprog  9 месяцев назад

      Thanks for your kind words!👍

  • @rikmoran3963
    @rikmoran3963 5 месяцев назад

    What an excellent video.I'd sat through several other ones before finding this. Once I have worked out how to set up a volume I will be all sorted! Many thanks!

    • @absprog
      @absprog  5 месяцев назад

      Glad it helped!

  • @23Vacuu
    @23Vacuu 7 месяцев назад

    Very nice flow watching your video. Two things came to my mind first how to close the "docker compose up" properly and how the storage of the database is handled in a container. Do we have to specify a volume? Will it be there after a restart? How to backup / transfer the database if we switch to another computer?

    • @absprog
      @absprog  7 месяцев назад +1

      1. Docker compose down
      2. If you use a volume, the database will be persistent, and it’s very common to use one. Since it’s a folder on your computer, you can copy it to any other computer and keep working on the same data.

  • @robertino7904
    @robertino7904 Год назад +2

    thnx... it was really a nice video, I am a noob with docker, and u helped me a lot

    • @absprog
      @absprog  Год назад +1

      Thanks for your support and kind words Roberto! 👍

  • @virtualnetscpe
    @virtualnetscpe 10 месяцев назад

    nice, it's so usefully, thank god for Indian youtubers

  • @alimahmoudmansour9681
    @alimahmoudmansour9681 4 месяца назад

    I really like the way you explain. Thank you!!

    • @absprog
      @absprog  4 месяца назад +1

      Glad it was helpful!

  • @ayoubrayanemesbah8845
    @ayoubrayanemesbah8845 4 месяца назад

    man thank you very much , i swear to God i love you , your are a savior

    • @absprog
      @absprog  4 месяца назад

      Glad it was helpful

  • @Vishnu-Kanth-01
    @Vishnu-Kanth-01 3 месяца назад

    The best explanation. Thank you so much 🤝

    • @absprog
      @absprog  3 месяца назад

      Glad it was helpful👍

  • @BrutallionStallion
    @BrutallionStallion Год назад

    המון תודה רבה לך מתן, עזרתה לי ממש. אני עוד לומד דוקר, והסבר שלך הכי טוב שמצאתי.👍👍👍

    • @absprog
      @absprog  Год назад

      👍🌟תודה רבה

  • @tork9067
    @tork9067 2 месяца назад

    Finally this is the video after searching for 1 hour .

    • @absprog
      @absprog  2 месяца назад

      I'm glad it turned out well👍

  • @gp-vp7lv
    @gp-vp7lv 6 месяцев назад

    how to add mysqli extension to the the docker/docker-compose?

  • @Thunderdicle98
    @Thunderdicle98 11 месяцев назад

    thanks for your advices about docker

    • @absprog
      @absprog  11 месяцев назад

      Welcome👍

  • @sunildivyeshvar9852
    @sunildivyeshvar9852 5 месяцев назад

    Where is MySQL datadirectory store data ? On docker image ? Or on disk ?

  • @dipereira0123
    @dipereira0123 10 месяцев назад

    Wait, shouldnt also be a reference somewhere in the video to create the volume where the Database is supossed to be saved?

  • @hachnguyenvan5630
    @hachnguyenvan5630 Год назад

    Thank you so much, I hope you can create more videos about Docker and Kubernetes in advanced.

    • @absprog
      @absprog  Год назад

      I am glad you found this helpful 👍

  • @ace296703
    @ace296703 11 месяцев назад

    amazing content you put out... I love your approach

    • @absprog
      @absprog  11 месяцев назад

      Thanks for your support and kind words!👍

  • @최용운-z3w
    @최용운-z3w 4 месяца назад

    It was super helpful. Thank you~

    • @absprog
      @absprog  4 месяца назад

      That's great to hear!

  • @dencythomas5477
    @dencythomas5477 7 месяцев назад

    is this how it is used in actual production environment

  • @abdulrahmanalshameery7097
    @abdulrahmanalshameery7097 Год назад

    why when run the command "docker pull mysql" it give me this message "error pulling image configuration: download failed after attempts=6: net/http: TLS handshake timeout"

  • @brahma0115
    @brahma0115 Год назад

    Do you have video on Set Up For Postgres Database with Docker?

  • @alvina3367
    @alvina3367 Год назад

    thanks for the video, it was informative and helpful ! could i ask how i can share this container with others should i want to share a database with them?

    • @absprog
      @absprog  Год назад +1

      Thank you very much for the feedback.
      Sharing a docker image consists of two steps:
      1. Creating the image (I talk about it here: ruclips.net/video/GpEgXK5ZqP8/видео.html)
      2. Uploading the image to Docker hub (I talk about it here ruclips.net/video/1yfvAsrXFwM/видео.html)
      Notice though that if you're talking about the Data itself, it has nothing to do with docker - just export the database then import it at the destination.

  • @slaptured
    @slaptured Год назад

    useful and clear, thank you so much

    • @absprog
      @absprog  Год назад

      Thanks for the feedback!

  • @fatima-cf1bj
    @fatima-cf1bj 6 месяцев назад

    great video thank you so much 😄😍😍😍

    • @absprog
      @absprog  6 месяцев назад

      Thank you for your comment🙏

  • @doinb4685
    @doinb4685 11 месяцев назад

    Good video very helpful

    • @absprog
      @absprog  11 месяцев назад

      Thank you for your feedback!👍

  • @Gery-zg7ky
    @Gery-zg7ky 8 месяцев назад

    very good video, thank you bro

    • @absprog
      @absprog  8 месяцев назад +1

      You're most welcome👍

  • @AKM.00074
    @AKM.00074 3 месяца назад

    whein i tired to connect with workebench it give me faild to connect

  • @robinsingh9371
    @robinsingh9371 Год назад

    thanks you so much

    • @absprog
      @absprog  Год назад

      You are most welcome!👍

  • @ericksantos12
    @ericksantos12 Год назад

    if i terminate mysql container, the data will be lost?

    • @absprog
      @absprog  Год назад

      You can use Docker volumes for data persistency. I talk about it in the video

  • @stanleychukwu7424
    @stanleychukwu7424 6 месяцев назад

    thank you sir, i love you!! no jokes

    • @absprog
      @absprog  6 месяцев назад

      Thanks for your support🙏

  • @alexisdauli8537
    @alexisdauli8537 Год назад

    Thanks bro... very helpful

    • @absprog
      @absprog  Год назад

      Thanks for the feedback Alexis

  • @KENT0070
    @KENT0070 Год назад

    You are great

    • @absprog
      @absprog  Год назад

      Thanks for your support👍

  • @Heekte
    @Heekte 8 месяцев назад

    thanks boss

    • @absprog
      @absprog  8 месяцев назад

      You're most welcome👍

  • @RidwanHidayat
    @RidwanHidayat Год назад

    oh m god, you saved my life,,
    THANKYOU SO MUCHH

    • @absprog
      @absprog  Год назад

      I am glad you found this helpful Ridwan 😊

  • @sumaya2621
    @sumaya2621 Год назад

    getting error :"services must be a mapping" Please help!

  • @geekyprogrammer4831
    @geekyprogrammer4831 Год назад

    How to make the data persistent? like we dont have to login always

  • @AghaTayyab-q9j
    @AghaTayyab-q9j Год назад

    you are love

  • @AndriusPekarskas
    @AndriusPekarskas Год назад

    best tutorial. thx

    • @absprog
      @absprog  Год назад

      Thank you for your feedback Andrius! I appreciate your support👍

  • @harjotsingh9894
    @harjotsingh9894 Год назад

    thanks a lot

    • @absprog
      @absprog  Год назад

      You are most welcome Harjot

  • @ayed-al-nator
    @ayed-al-nator Год назад +1

    ❤❤❤❤❤❤❤❤❤❤❤❤

    • @absprog
      @absprog  Год назад +1

      Glad you liked it! 🤗

  • @markm1514
    @markm1514 Год назад

    I'm just watching this in the background and I catch the
    Enter password:
    prompt glaring at me from across the room giving me anxiety...😅

  • @bharath4195
    @bharath4195 Год назад

    port map 3306 not working what to do ?

    • @SenopatiBN
      @SenopatiBN Год назад

      What is the error message ? I also got error, so I change the IP Address into localhost and it works ?

    • @nati1514
      @nati1514 Год назад +1

      when you create the container you need to expose the port like this
      " docker run --name NEW_NAME_FOR_THE_CONTAINER -e MYSQL_ROOT_PASSWORD=newpassword -p 3306:3306 -d mysql"
      then you connect to it like this
      " mysql -h localhost -P 3306 -u root -p" then type the password

  • @tahrizade
    @tahrizade Год назад

    problems in Macbook M1. not working