Docker Terminal Terminal MySQL Server

use docker exec with the flag -it:
general structure is:
docker exec -it <container_name> mysql -u<root> -p<password> 
barshopen