Skip to content

Whopag/PHPMySQL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample PHP Hello World app with 👉 Docker 👈

License License License

Linux
    sudo systemctl start docker
    sudo docker-compose up -d
    sudo docker container ls
    docker exec -it <container_id> bash
    sudo docker exec -it $(sudo docker container ls | grep mysql | cut -d" " -f1) bash

    mysql --user root --host localhost -p

    secret

    CREATE DATABASE db;
Windows
    docker-compose up -d
    docker container ls
    docker exec -it <container_id> bash
    docker exec -it $(docker container ls | grep mysql | cut -d" " -f1) bash

    mysql --user root --host localhost -p

    secret

    CREATE DATABASE db;

About

Sample PHP Hello World app with Docker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published