Shell script is written with PHP Bin / Magento. I change it to Dockergento Magento. Give him execution permission. Run it and it will return an error
mysql: [Warning] Using a password on the command line interface can be insecure. SQLSTATE[HY000]  Connection refused
Then when I check the shell script, it is updated to the old version using PHP Bin / Magento.
How can I run this script successfully?
It is a bitbucket pipeline auto-deployment script and I want to run it locally.