Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2001062

RE: [PHP-DB] Is MySQL in 4.0.6? From: Mark Roedel (MarkRoedel <email protected>)
Date: 06/26/01

> -----Original Message-----
> From: Adam Lundrigan [mailto:ceo <email protected>]
> Sent: Monday, June 25, 2001 5:46 PM
> To: php-db <email protected>
> Subject: [PHP-DB] Is MySQL in 4.0.6?
>
>
> Is MySQL included in the 406kb version of PHP 4.0.6?
> When I try to connect to MySQL (after adding localhost &
> paswords to php.ini) using this version it says:
> Warning: Can't connect to MySQL server on 'localhost' (10061)
> in mysql_local_test.php on line 2

If that's the message you're getting, that would indicate to me that

(1) your copy of PHP *does* include the MySQL client functionality, and

(2) it isn't successfully connecting to a MySQL server.

> From what i've heard, MySQL is included in PHP....but why
> doesn't the connect work if it is included?

Do you actually have a MySQL server running?

---
Mark Roedel (roedelm <email protected>)  ||  "There cannot be a crisis next week.
Systems Programmer / WebMaster  ||   My schedule is already full."
     LeTourneau University      ||                    -- Henry Kissinger

-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>