/    Sign up×
Community /Pin to ProfileBookmark

problems connecting to mySQL

Hey guys!
I’m trying to connect to a db …

[code=php]
$connection=mysql_connect(‘localhost’,’root’,’norman’);
[/code]

and I’m getting this warning:

Warning: mysql_connect() [function.mysql-connect]: Client does not support authentication protocol requested by server; consider upgrading MySQL client in C:webhomelocalhostwwwjantuannewopinion.php on line 9

Line 9, is the above code!
Please help! thanks!

to post a comment
PHP

3 Comments(s)

Copy linkTweet thisAlerts:
@chazzyOct 21.2006 — it means you only installed the MySQL server binaries, you need to also install the client binaries.
Copy linkTweet thisAlerts:
@byte_eaterauthorOct 22.2006 — it means you only installed the MySQL server binaries, you need to also install the client binaries.[/QUOTE]

ok...can u tell me where can I find this client binaries? thanks!
Copy linkTweet thisAlerts:
@chazzyOct 22.2006 — depending on the version you used, it's typically just an option when you're installing now. The 5.0 line contains it like this when using the installer.
×

Success!

Help @byte_eater spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...