Page 1 of 1

I Have Probelm with mysql_connect()

Posted: Mon Sep 06, 2004 10:15 pm
by signlesskid
you know , first of all better to say hello experts
i use mysql 5 alpha ,
used both php 4.3.8 and php 5 RC2
IE 5.5
IIS 5
whenn i want to connect to mysql server . when providing password , i mean the specified user has password for entrance , it says

Client does not support authentication protocol requested by server; consider upgrading MySQL client in d:\inetpub\wwwroot\testinfo.php on line 21


but it has no problem with usernames that dont have passwords .
i think this problem can be solved with Extended MySQL Library , but i had problems for using mysqli_connect() , because all i thought i have done but php doesnt know the command
anyway
i will appriciate if anyone could answer me as soon as possible .
god bless all of us
SignLessKid@Yahoo.com

Posted: Mon Sep 06, 2004 10:19 pm
by feyd
for mysqli, you have to enable to extension, it's not built-in.

find the php_mysqli.dll line in php.ini, and uncomment it. (remove the semicolon in front of the line)

restart your webserver.