Page 1 of 1
does not support authentication
Posted: Fri Mar 11, 2005 11:06 am
by navid
hi
i'm install mysql 4 on win 2003 server
i can't connect to mysql with php script
but i can connect with mysql prommpt.
i'm sure the password is currect.
i checked my open port on server
the 3306 port is open.
i get htis error when irun the script
"Warning: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in "
please, help me
thanks
Posted: Fri Mar 11, 2005 11:33 am
by feyd
if you are using MySQL 4.1+, it requires the new MySQLi extension.
Posted: Fri Mar 11, 2005 11:41 am
by navid
i will install mysql-4.1.10 .
please help me
thanks
Posted: Fri Mar 11, 2005 11:44 am
by feyd
help you what? I told you what the problem is.
Posted: Sat Mar 12, 2005 11:28 am
by navid
hi
please help me to
How install mysqli extention on server?
where i downlode it?
thanks
Posted: Sat Mar 12, 2005 11:30 am
by feyd
look through your php.ini you should see a commented out mysqli extension in there somewhere.
Posted: Sat Mar 12, 2005 11:36 am
by navid
i'm looking for mysqli in php.ini
but can't find it
Posted: Sat Mar 12, 2005 12:04 pm
by navid
hi
i think mysql is just for php5
i'm install php4-3-10
is it right?
Posted: Sat Mar 12, 2005 12:41 pm
by Chris Corbyn
MySQL goes right back to PHP3.
If the extension is not listed in php.ini.
Download it and put it in the php extension directory.
Then add a
extension=php_mysqli.dll
To the list of extensions in php.ini.
Not sure if that's the actual problem though. I've had that error message in my setup before. It was just on one particular account - one I created with phpMyAdmin. I deleted the account and set it up manually from the command line and it worked after that.
Posted: Sat Mar 12, 2005 2:11 pm
by timvw
Posted: Sat Mar 12, 2005 2:59 pm
by d3ad1ysp0rk
I don't think the problem is as much a technical one as a language barrier.