List of Topics:
Location Research Breakthrough Possible @S-Logix pro@slogix.in

Office Address

Social List

How to Run a MySQL Container Along With PhpMyAdmin to Manage the Database Through a Web Browser?

Docker

Condition for Run a MySQL Container Along With PhpMyAdmin to Manage the Database Through a Web Browser

  • Description:
    This task demonstate how to use Docker to run MySQL along with phpMyAdmin — a GUI tool to manage databases visually. Instead of using commands, phpMyAdmin provides an easy browser interface to create tables, run queries, and export/import SQL databases.

Steps

  •  Step 1 — Run phpMyAdmin Container
     Description: Start phpMyAdmin and connect it to your already running MySQL container (mygurudb).
     Command:
    docker run --name guruphpadmin -d -p 8082:80 --link mygurudb:db phpmyadmin/phpmyadmin
                
     --name guruphpadmin → name of phpMyAdmin container
     --link mygurudb:db → connects phpMyAdmin to MySQL container
     -p 8082:80 → access phpMyAdmin on browser port 8082
  •  Step 2 — Access phpMyAdmin in Browser
     Description: Open your browser to access the graphical database dashboard.
     Action:
    ➡ Visit:
    http://localhost:8082
                
  •  Step 3 — Login to phpMyAdmin
     Description: Sign in using the same credentials given to MySQL.
     Credentials:
    Username: root
    Password: admin
  •  Result:
    ✔ phpMyAdmin dashboard opens
    ✔ You can view your database (guruDB)
    ✔ Create tables, insert data, export SQL, manage users, and run queries through an easy UI
Screenshots
  • 356
  • 357
  • 358
  • 359
  • 360