Results 1 to 2 of 2

Thread: PHP/MYSQL Error

  1. #1

    Thread Starter
    PowerPoster lintz's Avatar
    Join Date
    Mar 2003
    Location
    The 19th Hole
    Posts
    2,697

    Resolved PHP/MYSQL Error

    I've installed PHP 4.4.1 and MYSQL 4.1.10 onto a server machine but upon running a simple login script (that works fine on a test machine running PHP 4.4.1 and MYSQL 4.0.23) I get the below error.

    Upon checking mysql.com it's says to upgrade to MYSQL 4.1.10 or above but I am already running that version. Does anyone know how I can overcome this error and connect to my database?

    PHP Code:
    Warningmysql_connect(): Client does not support authentication protocol requested by serverconsider upgrading MySQL client in C:\Apache Group\Apache2\htdocs\poll\db_connect.php on line 19 
    SOLVED http://dev.mysql.com/doc/refman/5.0/en/old-client.html
    Last edited by lintz; Jan 24th, 2006 at 08:59 PM.

  2. #2
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: PHP/MYSQL Error

    Upgrading to PHP 5 also fixes the problem
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width