Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 24
  1. #1
    Member
    Join Date
    Dec 2003
    Posts
    44

    Thumbs down mySQL 4.1 client authentication

    Alright, I just upgraded to CentOS3.5 from Redhat9.

    With RH9 I had PHP working just fine with mysql4.1 using the new passwords - hence, all of my users have new passwords stored.

    After upgrading to CentOS I recompiled apache to include another aspell as it was requested by a user. Now I am having the famous "mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client" error.

    I have recompiled apache/php with easyapache more times than I can count trying different options. Use System mysql checked/unchecked, ran /scripts/mysqlup --force to refresh all of that stuff, still no luck.

    It's simply not feasable for me to use old passwords at this point as that would require all my users to go back and reset their passwords - a nightmare I'm not willing to go through.

    Anyone have any ideas? I am waiting for a reply from EZSM at the moment but want to see if anyone has any suggestions in the meantime.

    Thanks.

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge AndyReed's Avatar
    Join Date
    May 2004
    Location
    Minneapolis, MN
    Posts
    2,223

    Default

    This is NOT Cpanel problem and you should have searched MySQL Web site before posting this question. It is common to experience such problem when upgrading MySQL to v4.1. The solution is posted on MySQL Web site: http://dev.mysql.com/doc/mysql/en/old-client.html
    Andy Reed
    RHCE and CCNA
    ServerTune.com

  3. #3
    Member casey's Avatar
    Join Date
    Jan 2003
    Location
    If there is trouble, it will find me
    Posts
    2,336

    Default

    Did you compile php to use the system mysql or the mysql bundled with php? What does the relevant section of phpinfo() show?

  4. #4
    Member
    Join Date
    Nov 2002
    Posts
    9

    Thumbs up

    Quote Originally Posted by sHORTYWZ
    Now I am having the famous "mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client" error.
    Hi sHORTYWZ,

    There is an option to fix this in Tweak Settings.

    "Use old style (4.0) passwords with mySQL 4.1"

    Lee.

  5. #5
    Member
    Join Date
    Dec 2003
    Posts
    44

    Default

    None of you guys quite grasp my problem =)

    phpinfo shows:
    Client API version 3.23.49

    I have checked use system mysql and recompiled - it should not be compiling 3.23.49, it should be compiling using the system mysql of 4.1.11.

    Simply switching to old-passwords will not work for me as for the reasons stated in my original post..

    Let me rephrase my original post to make my question a little more clear... the only thing that was actually a *question* in there was th is:

    Why isn't the mysql module in php being compiled by easyapache picking up my system mysql?
    Last edited by sHORTYWZ; 06-30-2005 at 06:00 AM.

  6. #6
    Member casey's Avatar
    Join Date
    Jan 2003
    Location
    If there is trouble, it will find me
    Posts
    2,336

    Default

    You should try compiling it manually. See if there are any errors in the compile.

  7. #7
    Member
    Join Date
    Dec 2003
    Posts
    44

    Default

    Quote Originally Posted by casey
    You should try compiling it manually. See if there are any errors in the compile.
    Did a manual compile of PHP and everything is working peachy keen. Still curious as to why easyapache was ignoring the use system mysql option.

    Thanks to the half of you that tried to help =)

  8. #8
    Member Sinewy's Avatar
    Join Date
    May 2004
    Location
    Sydney, Australia
    Posts
    370

    Default

    if you tick 'use system mysql' in the php builder, it will insert --with-mysql=/usr into the php configure. That will make it use the MySQL 4.1 libraries and not the inbuilt 3.23 ones.

    Using just --with-mysql will make it use the inbuilt 3.23 libraries which do not work with 4.1.

    Regards,
    Alan

  9. #9
    Member
    Join Date
    Dec 2003
    Posts
    44

    Default

    Quote Originally Posted by Sinewy
    if you tick 'use system mysql' in the php builder, it will insert --with-mysql=/usr into the php configure. That will make it use the MySQL 4.1 libraries and not the inbuilt 3.23 ones.

    Using just --with-mysql will make it use the inbuilt 3.23 libraries which do not work with 4.1.

    Regards,
    Alan
    That's the thing, when I went and looked at a phpinfo afterwords, it wasn't showing the --with-mysql=/usr option. It was still using the regular option.

  10. #10
    Member
    Join Date
    Mar 2005
    Posts
    9

    Default

    I'm having the exact same problem on one of my servers. It has to be a bug in easyapache. I am manually compiling PHP 4.3.11 now with a fixed config line, so I'm crossing my fingers.

    Rob

  11. #11
    Member
    Join Date
    Mar 2005
    Posts
    9

    Default

    A manual compile of PHP 4.3.11 did solve the problem, and now the new MySQL 4.1.x libs are working.

    Does anyone know how to fix the buildapache script so that it will use the MySQL 4.1.x libs instead of the PHP built-in ones? The "Use System MySQL" link is just not working.

    This is a fairly serious problem.

    Rob

  12. #12
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Feb 2002
    Location
    Pula, Croatia
    Posts
    196
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by rwoliver2
    A manual compile of PHP 4.3.11 did solve the problem, and now the new MySQL 4.1.x libs are working.

    Does anyone know how to fix the buildapache script so that it will use the MySQL 4.1.x libs instead of the PHP built-in ones? The "Use System MySQL" link is just not working.

    This is a fairly serious problem.

    Rob
    Nope, leave it like this, we have to wait until cpanel guys fix damn thing, i posted yesterday link to old easyapache from my box and howto manual install, but, today this post is missing, do not know why moderator did it, but ok, if you think that this is safe, ok. I am allmost sure that i checked, and post was there, it was late, an i am not 120% sure, but i am now sure that post does not exist. I know that you cpanel guys do not work on weekends, but we have to work.

  13. #13
    Member Sinewy's Avatar
    Join Date
    May 2004
    Location
    Sydney, Australia
    Posts
    370

    Default

    It works fine if you use the "Use system mysql" box ticked.

    Regards,
    Alan

  14. #14
    Member
    Join Date
    Dec 2003
    Posts
    44

    Default

    Quote Originally Posted by Sinewy
    It works fine if you use the "Use system mysql" box ticked.

    Regards,
    Alan
    Not with the latest version of easyapache - did you real the whole thread?

    More information available here:
    http://forums.cpanel.net/showthread.php?t=38290

  15. #15
    Member
    Join Date
    Mar 2005
    Posts
    9

    Default

    I've opened up a ticket on this issue, ticket # 104425

    Hopefully we'll get a fix to buildapache soon. Very soon I hope

    Rob

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. Replies: 4
    Last Post: 06-23-2005, 02:09 AM
  4. Replies: 2
    Last Post: 03-24-2005, 07:41 PM
  5. Client Authentication on port 2096 What for?
    By ozzi4648 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-28-2002, 07:14 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube