connect to docker mysql from terminal code example
Example: docker open terminal mysql server
use docker exec with the flag -it:
general structure is:
docker exec -it <container_name> mysql -u<root> -p<password>
use docker exec with the flag -it:
general structure is:
docker exec -it <container_name> mysql -u<root> -p<password>