Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member This forum account has been confirmed by cPanel staff to represent a vendor. Radio_Head's Avatar
    Join Date
    Feb 2002
    Posts
    2,064

    Talking How I solved ERROR 1251: Client does not support authentication protocol requested

    How I solved the problem

    ERROR 1251: Client does not support authentication protocol requested by server; consider
    upgrading MySQL client


    I am posting here the how to because nothing in this forum worked execpt of this step by step procedure.


    Problem : when you execute mysql from command line you receive "ERROR 1251: Client does not support authentication protocol requested by server; consider upgrading MySQL client"

    1) /scripts/mysqlup --force

    2) open /etc/my.cnf and add

    old-passwords

    on [mysqld]

    3) #service mysql restart

    4) now open WHM and change your mysql root password
    (I used a 8 chars password)


    Only now, it should work !


    In several posts in this forum I read add old-passwords on my.cnf . It was not enough for me . Only the procedure above fixed my problem definitely.


    Bye
    Stop SPAM & VIRUS :: ASSP Deluxe for cPanel http://www.grscripts.com
    █ ASSP Deluxe is supported by Fritz Borgstedt,ASSP main developer.

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge Alexandre's Avatar
    Join Date
    Jan 2004
    Location
    U.S.A.
    Posts
    19

    Default

    You can try

    #mysqld_safe --skip-grant-tables --old-passwords &
    #mysql -u root
    #mysql>UPDATE mysql.user SET Password=PASSWORD('yournewpasswd')
    -> WHERE User='root';
    mysql> FLUSH PRIVILEGES;

    Replace "yournewpasswd"' with the actual root password that you want to use.

    Travellin' somewhere, could be anywhere
    There's a coldness in the air, but I don't care.
    We drift deeper into the sound, life goes on,
    We drift deeper into the sound, feeling strong
    So bring it on, so bring it on

  3. #3
    Registered User
    Join Date
    Sep 2007
    Posts
    1

    Default

    Alexndere

    thank you very much

    it took me 4 days of searching untill found this way

    thanks man

Similar Threads & Tags
Similar threads

  1. Client Certificates for Authentication
    By noahnelson in forum New User Questions
    Replies: 3
    Last Post: 11-23-2007, 09:44 AM
  2. Warning: mysql_connect(): Client does not support authentication protocol
    By Secret Agent in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 08-19-2005, 02:20 PM
  3. mySQL 4.1 client authentication
    By sHORTYWZ in forum cPanel and WHM Discussions
    Replies: 23
    Last Post: 07-20-2005, 01:07 PM
  4. Replies: 4
    Last Post: 06-23-2005, 02:09 AM
  5. Replies: 2
    Last Post: 03-24-2005, 07:41 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube