List:General Discussion« Previous MessageNext Message »
From:T.J. Mahaffey Date:October 27 2005 6:05pm
Subject:Re: Mysql privs via PHP? Problems - * Now with error message
View as plain text  
*head smack*

Apologies for my newbie-ish first post to the list. (I know better  
than to exclude key details like *gasp* an error message.)
Thanks to Michael's brilliant suggestion, I now have my error:

"Client does not support authentication protocol requested by server;  
consider upgrading MySQL client"

Does this have something to do with the OLD_PASSWORD issue in MySQL  
5? (I didn't think OSXServer 10.4 included MySQL v.5... )

My setup:
Entropy PHP 4.3.11
MacOS X Server 10.4
10.4's default MySQL install

--
T.J. Mahaffey
tj@stripped



On Oct 27, 2005, at 12:49 PM, Michael Stassen wrote:

> The key to fixing these sorts of problems is to write php code that  
> tells you what the error is, rather than simply failing.  Please  
> pick one of your scripts (or make a test one) and make the connect  
> code look like this:
>
>   $link = mysql_connect('mysql_host', 'mysql_user', 'mysql_password')
>     or die('Could not connect: ' . mysql_error());
>
> (replace mysql_host, mysql_user, and mysql_password with the  
> appropriate values).  The second line is the key.  When this fails  
> to connect, the error message from mysql will be printed.  Reply  
> with the connect code (but don't show us the real password, of  
> course) and the exact error message (copy/paste). Armed with that  
> information, I'm sure we can tell you what's wrong.
>
> Michael

Thread
'Autoextend' datafile - Mysql-Max-4.1.14 - LinuxTom Brown25 Oct
  • Re: 'Autoextend' datafile - Mysql-Max-4.1.14 - LinuxJigal van Hemert26 Oct
    • Re: 'Autoextend' datafile - Mysql-Max-4.1.14 - LinuxTom Brown26 Oct
      • Re: 'Autoextend' datafile - Mysql-Max-4.1.14 - LinuxJigal van Hemert27 Oct
      • Mysql privs via PHP? ProblemsT.J. Mahaffey27 Oct
        • Re: Mysql privs via PHP? ProblemsMichael Stassen27 Oct
          • Re: Mysql privs via PHP? Problems - * Now with error messageT.J. Mahaffey27 Oct
            • Re: Mysql privs via PHP? Problems - * Now with error messageHassan Schroeder27 Oct
            • Re: Mysql privs via PHP? Problems - * Now with error messageJasper Bryant-Greene27 Oct