Fresh install and: #mysql: unknown option '--CLIENT'


I just installed Percona server 5.6 on Linux 2.6.32-431.
I think it installed with a default password because:


This doesn’t accept empty password.

I tried to reset mysql root password with:

mysqld_safe --skip-grant-table &
mysql --user=root mysql

but the #mysql command everytime, even without parameters gives the error below:

What should I do?


I encountered something similar. In my haste I forgot the leading hash. I was then able to continue successfully.

I suggest checking your my.cnf file for missing Hash before “Client” entry - see example below.



port = 3306
socket = /var/lib/mysql/mysql.sock
secure_auth = 0