Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 880 Bytes

README.md

File metadata and controls

31 lines (22 loc) · 880 Bytes

#DOCKER-COMPOSE-NODEJS-EXPRESS-MYSQL In this sample, we will look at the functionality provided by 'Docker Compose' for defining and running multi-container Docker applications.

We are going to use 'MySQL' like our specialized database and 'Node.js' as our platform for creating highly performant web applications.

#ScreenShots

docker_compose

docker_compose

RUN THE PROJECT

docker-compose up

INSPECT YOUR MYSQL CONTAINER(to see your database)

  1. docker ps
  2. docker exec -it YOUR_MYSQL_CONTAINER_ID bash
  3. mysql -u root -p
  4. put the password(123)
  5. enter
  6. use CHIRINOS;
  7. show tables;
  8. describe EMPLOYEE;

ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '123';