On Wed, 15 Sep 2004, Rasmus Lerdorf wrote:

> On Wed, 15 Sep 2004, Sam Hobbs wrote:
> > I am using PHP Version 5.0.1, MySQL 5.0.1-alpha-nt, and Apache/2.0.48 with
> > Windows XP with SP2. When I use mysql_connect in a php page in Apache to
> > connect to the "localhost" I get:
> >
> >    Warning: mysql_connect() [function.mysql-connect.chm]: Can't connect to
> > MySQL server on 'localhost' (10061)

Also, are you really using the mysql extension with MySQL 5.0.1? If
so, you need to make sure you pass special flags to MySQL to make it
play nice with the older client libraries.

-adam

-- 
[EMAIL PROTECTED]
author of o'reilly's "upgrading to php 5" and "php cookbook"
avoid the holiday rush, buy your copies today!

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to