Fix empty password using interactive shell

This PR fixes a problem where a empty password triggers the mysql commands to request the password