I Have Probelm with mysql_connect()

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
signlesskid
Forum Newbie
Posts: 1
Joined: Mon Sep 06, 2004 10:07 pm

I Have Probelm with mysql_connect()

Post 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
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post 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.
Post Reply