NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Does this work with the interpreter or just PHPED?


Joined: 16 Jul 2005
Posts: 5
Reply with quote
I have successfully gotten PHPED to open my database in the IDE, but when I run my scripts, I am getting the same error, and when I look at phpinfo it tells me I am using 3.23 client. Is there a work around for this, other than installing PHP 5.0?
View user's profileFind all posts by phormanSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8340
Reply with quote
Quote:
Is there a work around for this, other than installing PHP 5.0

This problem relates to php itself. Php4 has no extension to work with mysql 4.1. You may want to downgrade to mysql 4.0 or upgrade to php5.
View user's profileFind all posts by dmitriSend private messageVisit poster's website
works for me


Joined: 28 Nov 2005
Posts: 1
Reply with quote
Open a mysql console

mysql> SET PASSWORD FOR 'root'@'localhost' = OLD_PASSWORD('xxxxxx');

MySQL 4.1 and up uses an authentication protocol based on a password hashing algorithm that is incompatible with that used by older clients and software.

If you get:

Fatal error: Call to undefined function: mysql_connect()

PHP 5 no longer enables MySQL by default (nor does it bundle the MySQL Client libraries). Instead, you'll need to manually install this extension, just like you do with most every other extension.

Go to your php.ini file (located by default in ...\nusphere\phped\php5) and uncomment de line:

extension=php_mysql.dll

And now it should work fine!


Last edited by mmielu on Mon Nov 28, 2005 12:05 pm; edited 1 time in total
View user's profileFind all posts by mmieluSend private messageYahoo Messenger
Veteran

Joined: 28 Nov 2005
Posts: 144
Reply with quote
phped build 4048 eval doesn't work with Mysql 4.1.

What is the release that works with mysql 4.1?

I've tried to copy C:\Programmi\MySQL\MySQL Server 4.1\bin\libmySQL.dll on
C:\Programmi\nusphere\phped\php\libmySQL.dll but i've the same error
View user's profileFind all posts by blackSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8340
Reply with quote
Quote:
but i've the same error

and what's the error message?
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Veteran

Joined: 28 Nov 2005
Posts: 144
Reply with quote
the error is "1251 - client does not support authentication protocal requested by server; consider upgrading mySQL client."

For the moment on my local server I've put "old_passwords" in my.ini, it works, but it's not a solution because I would use the new auth procedure.
View user's profileFind all posts by blackSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8340
Reply with quote
it means that you still run old mysql client.
Check if libmysql.dll is really updated and if no older versions are in the directories listed in PATH.
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Does phpED work with mySQL 4.1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 2 of 2  

  
  
 Reply to topic