MySQL Utilities MySQL Tutorial

You must do so with no intervening space

mysql> -pmypassword, not as -p mypassword