Setup phpMyAdmin and MySQL with Docker Compose (Docker)

Поделиться
HTML-код
  • Опубликовано: 4 окт 2024
  • This tutorial will show how to configure docker container to run Phpmyadmin.
    Prerequisites -
    docker recommended version 19+
    docker-compose recommended version 1.20+
    2 Scenarios-
    a. Connect to an arbitrary server db
    b. Connect to a docker hosted db
    Links -
    Official Docker Hub Website - hub.docker.com/
    phpmyadmin image - hub.docker.com...
    #docker #phpmyadmin #phpmyadminoverdocker #dockertutorial #dockercomposetutorial

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

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

    owmygoood!!! you are the best!!! It works perfectly!!
    I was just a little confused because you used first the external msql but cool to know that exist as well 🙂 Finally it was really nice how you made this video! Now I do understand as wel more how docker-compose is working ! daaammn what a nice video!! (and a little help from chatgpt to write down the code, I had to change a few small things)

  • @weqtgafg2212
    @weqtgafg2212 2 года назад

    Thank you for your video, helps a lot

  • @JoaoPedro-uw8nz
    @JoaoPedro-uw8nz 7 месяцев назад

    Thx for the help :)

  • @AkshadRathod-w2r
    @AkshadRathod-w2r 8 месяцев назад

    helful video ..

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

      Thanks for the feedback.

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

    thank you soo much !

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

    I got this error "mysqli::real_connect(): (HY000/1130): Host '172.18.0.3' is not allowed to connect to this MySQL server". No matter what I do, it's not getting resolved. I saw your reply to another comment with the same issue and followed the links you suggested, but it still doesn't resolve the issue.

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

      Refer these links: github.com/docker-library/mysql/issues/275
      stackoverflow.com/questions/54030469/host-x-is-not-allowed-to-connect-to-this-mysql-server

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

    Hello, thank you for this video, I try it with springboot application I find the name of the db but my database is empty, any solution plz ?

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

      Please share the error code.

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

    Hi, thank you for your video, however I follow exactly the steps but it couldn't connect to database on phpmyadmin. I got this error "mysqli::real_connect(): (HY000/1130): Host '172.18.0.3' is not allowed to connect to this MySQL server". I'm using MacOS Ventura, Docker Engine v20.10.22.

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

      Refer these links: github.com/docker-library/mysql/issues/275
      serverfault.com/questions/793058/can-not-access-mysql-docker
      stackoverflow.com/questions/54030469/host-x-is-not-allowed-to-connect-to-this-mysql-server
      www.tecmint.com/fix-error-1130-hy000-host-not-allowed-to-connect-mysql/

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

    I Tried making a docker-compose file as well to connect Nextcloud to database I made for Nextcloud in phpmyadmin. But I have problems connecting them.Can you help me with this one too?

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

      Please share the error code.

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

      I wil show my docker compose file tomorrow in your Twitter in private

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

      @@CloudGurus I tried sending an email

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

    Did you have to configure the password somewhere , I don't see you doing this

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

    owkey ,but I heared arbitrary is not that safe to use ? Is this right?

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

    Hi sir can I contact you on your social media or mail to help solve an issue i'm dealing with. For my spring boot project, my database is opened using phpmyadmin (sql) but I didn't know if I have to only put a server for mysql or both for mysql and phpmyadmin when I run dockercompose it doesn't seem to have any connection,

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

      Contact us here: cloudgurupayments@gmail.com

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

      @@CloudGurus I just sent thanks guys