I have a bash file db_reset
drop database foo;
create database foo;
And I am trying to run this script:
prompt> mysql -uroot -p < db_reset
the password is requested every time
prompt> mysql -uroot -p < db_reset
Enter password:
And I want to skip this step. Password is empty. I've tried with solutions like
prompt> mysql -uroot -p"" < db_reset
Enter password:
but the result is always the same. Can someone help me?