Another connection error.

Installation and configuration iussues

Moderators: macek, egami, gesf

RibTime
New php-forum User
New php-forum User
Posts: 2
Joined: Fri Nov 26, 2004 12:54 am

Another connection error.

Postby RibTime » Fri Nov 26, 2004 2:03 am

Hi there.....

Not only am I new to MySQL but PHP as well. I have done my best to look around the various forums for a fix but cannot find anything.

I have a 2003 server and h'ave installed MySQL and PHP. From the server I can 'telnet localhost 3306 and can use MySQL to create databases / tables etc etc.

From my client I can 'telnet servername 3306'

But when I try and connect to a database from within php using
if(mysql_connect('localhost','root','***'))
{ print("Connect Worked Fine"); } else{ print(mysql_error()); }


I get message

"Client does not support authentication protocol requested by server; consider upgrading MySQL client"

The script is run on my server from IE.

Am I missing some software or are there some security options not set within php/MySQL(server or databases ).

Many thanks in advance

RibTime
New php-forum User
New php-forum User
Posts: 2
Joined: Fri Nov 26, 2004 12:54 am

Postby RibTime » Fri Nov 26, 2004 3:11 am

Hang on hold back the 'RTFM' replies.

As soon as I posted the thread I found the answer in the 'sticky'

Thanks to Alexei... :-D

User avatar
Alexej Kubarev
Site Admin
Site Admin
Posts: 2223
Joined: Fri Mar 05, 2004 7:15 am
Location: Täby, Stockholms län
Contact:

Postby Alexej Kubarev » Mon Dec 27, 2004 8:31 am

Hehe... glad that it helped :D
HEhehe... Finally :D


Return to “MySQL Installation”

Who is online

Users browsing this forum: No registered users and 1 guest

cron