You must also create a ~/.my.cnf containing the following:[client] user=usernameformysql password=password