Just use -p and the rest as specified. The execution from the script will interrogate you to the password securely.
MySQL is open up resource, which means anyone can down load MySQL computer software from the net and https://www.ralantech.com/mysql-dba-support-services/