Emergency

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

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

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

    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:
    Code:
    /usr/bin/mysql_secure_installation
    This doesn't accept empty password.

    I tried to reset mysql root password with:
    Code:
    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.
    Last edited by Seregwethrin; 02-23-2014, 10:00 AM.

  • #2
    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

    Comment

    Working...
    X