Zend certified PHP/Magento developer

Docker magento 2 setup issues with Mysql (markshust/docker-magento)

Facing an mysql connection issues while Magento2 setup with docker at local

I have followed the steps mentioned at existing project in the below link

markshust/docker-magento: Mark Shust’s Docker Configuration for Magento (github.com)

markshust/docker-magento

I am not able to dump my sql backup and when I connect bin/mysql, its connected perfectly fine but sql queries are not working. its not displaying anything even after multiple hits on enter button.

Mysql connection not established I guess, so please help me to resolve this error and also find the attached screens for reference.

Note: I am able to setup default Magento perfectly and no issues faced.

Tech stack :
Macbook pro with M1 chip , 16 GB memory

Please find the attached screenshots for reference

enter image description here

enter image description here

enter image description here

enter image description here