Not the answer you need?
Register and ask your own question!

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

SeregwethrinSeregwethrin EntrantInactive User Role Beginner
Hi,


I just installed Percona server 5.6 on Linux 2.6.32-431.1.2.0.1.el6.i686
I think it installed with a default password because:
/usr/bin/mysql_secure_installation
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:
mysql: unknown option '--CLIENT'

What should I do?

Thanks.

Comments

  • mjhillenbrandmjhillenbrand Entrant Current User Role Beginner
    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.



    [mysql]

    # CLIENT #
    port = 3306
    socket = /var/lib/mysql/mysql.sock
    secure_auth = 0
Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.