Reply to Clashing Servers!

Your name:

Reply:


Posted by Farticus on 03/08/06 10:44

Hi,
I've installed Apache2, PHP4 and MySQL5 onto my XP box hoping to be able to
devolop apps right where I sit. Yea, right!

I've done this before without problems, but now my hairs turned white in
less than overnight.

Individually all run just fine.

When I write a PHP script and run it, it works OK.

When I attempt to use MySql in the PHP it becomes a no-go zone.

It appears that both Apache and MySql are localhost, so when I do:
$server = "localhost";
$userid = "blahblah";
$password = "password";

mysql_pconnect($server,$userid,$password)
or die ("Could not connect to SQL server");

..... I get this:
Warning: mysql_pconnect(): Client does not support authentication protocol
requested by server; consider upgrading MySQL client in D:\Program
Files\Apache Group\Apache2\htdocs\contact51\index.php on line 51
Could not connect to SQL server

.... seems like I'm requesting from Apache instead of MySql server.

How can I rectify this problem?

Any ideas?

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация