Just used a MySQL 'GRANT' statement to give ''@'localhost' privs on a new db.
I wanted to run some tests from the mysql command line client before trying via PHP.
So I tried:
mysql -u ''
mysql -u '' -p
mysql --user='' -p
mysql --user= -p
but I keep getting "Access denied for user 'joe@localhost' ..." (where 'joe' is my username on the host box).
Anyone know the syntax for specifying "user==blank" from the command line? (Note: just leaving out the '-u' won't work; that also defaults to 'joe'.)