Jump to content



Welcome to AstaHost - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!

Toggle shoutbox Shoutbox Open the Shoutbox in a popup

@  yordan : (25 May 2013 - 07:59 PM) Yay, Shoutbox Is Back! Yahooo!
@  agyat : (24 May 2013 - 05:15 PM) O Dear, Where Are You? Without Your Words This Sb Is ..
@  agyat : (23 May 2013 - 01:23 AM) Wow! Mr. Sb Back Home.
@  OpaQue : (23 May 2013 - 12:44 AM) Ting
@  OpaQue : (24 April 2013 - 02:44 PM) I guess, Time to run Mycent script.
@  OpaQue : (24 April 2013 - 02:43 PM) wow.. not much spam. except habatt posting lot of links.. :P
@  yordan : (23 April 2013 - 01:04 PM) You're welcome, agyat. Nice to have been helpful. Second lesson: try full words, "you" instead of "EW".
@  agyat : (23 April 2013 - 05:03 AM) @YORDAN: tHANK EW FOR YOUR FIRST LESSON.   :D
@  yordan : (22 April 2013 - 09:43 PM) @agyat : "why don't you help me", or "please help me", or "please teach us"
@  yordan : (22 April 2013 - 09:42 PM) welcome back, velma
@  velma : (22 April 2013 - 07:51 AM) **yawns** Good to be back, wonder what is going on here :)
@  agyat : (22 April 2013 - 03:50 AM) Oh! so, why don't help me learn english..
@  yordan : (21 April 2013 - 08:38 PM) The goal mentioned by shiu : "learning english, learning computer"
@  agyat : (21 April 2013 - 06:31 PM) WHAT GOAL?
@  yordan : (20 April 2013 - 10:39 AM) yes, that's our goal. simultaneouly learning English and teaching/learning computer using.
@  shiyu : (20 April 2013 - 07:30 AM) learning english,learning computer
@  yordan : (19 April 2013 - 01:11 PM) Oh, I see, it's just a trick in order to force people looking at your texte. Somehow smart, maybe.
@  agyat : (19 April 2013 - 02:54 AM) And of course I know it is not SEO friendly.
@  agyat : (19 April 2013 - 02:52 AM) There may be two possible answers for that ....


1) Shout was posted using mobile keypad.

2) To force people read content carefully and/or with more concentration.
@  agyat : (19 April 2013 - 02:49 AM) There may be two possible answers for that ....

Replying to phpMyAdmin-MySQL Error #1251:client Authentication


Post Options

    • Can't make it out? Click here to generate a new image

  or Cancel


Topic Summary

DivineZero

Posted 01 September 2005 - 08:09 PM

Maybe you dont have acess rights to do so?

Klass

Posted 16 August 2005 - 02:58 PM

Add a line "php_mysqli.dll" on PHP.INI to load the lib correct.

<{POST_SNAPBACK}>

that will not fix the issue,

1. Download the Full PHP zip:
http://us3.php.net/g...p/from/a/mirror
2. Extract to your desktop
3. upload the ext directory to your PHP directory
i.e. C:\PHP\
4. Copy the libmysql.dll from zip above & paste to C:\PHP\ext & C:\WINNT\System32 or C:\Windows\System32

C:\ is the default location if you have changed this on the installation then you need to put them in the correct places.

5. Edit php.ini
Find:
; Directory in which the loadable extensions (modules) reside.
extension_dir = "/"
Replace with:
; Directory in which the loadable extensions (modules) reside.
extension_dir = "C:\PHP\ext"
Find:
;extension=php_mysql.dll
Replace with:
extension=php_mysql.dll

fabiocardoso

Posted 16 August 2005 - 02:33 PM

Add a line "php_mysqli.dll" on PHP.INI to load the lib correct.

Casanova

Posted 04 July 2005 - 07:30 AM

well i too faced same problem..! And i visited mysql forums.! Thats nothing but Old Lib files in Mysql..! Upgrade the library Files there and it will work fine.!

Else shortcut method is In your mysql administrator Remove ur passwords and save.!

Then You wont ever get that or any other error.!

And remember while logging in phpmyadmin

login-root
password-{leave blank}
And enter..!

Also configure your scripts without password.. :P Hope this works out for you!

chaosx2x

Posted 29 June 2005 - 01:12 PM

i've a similar problem, but ii don't give me any errors, i put my root password but it ask me in loop user e pass :lol:

miCRoSCoPiC^eaRthLinG

Posted 22 June 2005 - 04:51 AM

Hey,
I had the same problem with MySQL+PHP - and it seems the problem stems from PHP not being compiled with support for the MySQL transactions - that's the only logical explanation I found on the MySQL forums.

What i did was blindly recompile PHP with --with-mysqli (MySQL interface) option - and that made it work. I'd found out about this partly from PHP & partly from MySQL forums and I'm still looking for a proper clear-cut explanation - but none that I've come across has satisfied me. Try posting the same on the MySQL forums too and see if you get any decent response.

The other fact I know about this error - is that starting from version 4.1.x of MySQL, the password hash that is used for mysql authentication was increased from 16 to 41 bytes. Thus older clients cannot talk to the newer servers because of the disparity in authentication methods. From this I deduced that the version of PHP (both you and me are using) is compiled to support the older authentication protocol and hence cannot converse with mysql servers starting from 4.1

There's an alternate fix for this - if you don't want to go into the hassle of recompiling php with the new mysql client libraries. Find out your my.cnf - MySQL configuration file and under the [mysqld] section add the statement: old-passwords - and then restart the MySQL server. This will make it fall back to the older 16-byte authentication method and PHP will work fine with it.

Hope this helps to some extent.
Regards,
m^e

Artluo100

Posted 21 June 2005 - 10:42 PM

After I installed phpMyAdmin and tried logging in with the root password, I get this :

#1251 - Client does not support authentication protocol requested by server; consider upgrading MySQL client


I already installed mySQL administrator and enabled old passwords.


Any help would be appreciated.

Oh yeah I have :

mySQL version 4.1.11-nt
mySQL client 5.04
Apache 2.0.54
PHP 4.3.11
phpMyAdmin 2.6.1-pl3

Review the complete topic (launches new window)