Hello,
remember that for windows, you must also copy the library (libmysql.dll) to
window's system32 directory in addition to un-commenting the
extension=php_mysql.dll line in php.ini. Also, just in case, ensure that
php.ini also has the proper extension directory set, typically c:\php\ext
but depends on where you installed php.
--------------------------------------------------
From: "Steve Staples" <sstaples@xxxxxxxx>
Sent: Tuesday, October 05, 2010 9:08 AM
To: "'php-general'" <php-general@xxxxxxxxxxxxx>
Subject: RE: Fw: Connecting to MySql with PHP
On Tue, 2010-10-05 at 14:02 +0100, Jason wrote:
>-----Original Message-----
>From: Steve Staples [mailto:sstaples@xxxxxxxx]
>Sent: 05 October 2010 13:55
>To: php-general
>Subject: Re: Fw: Connecting to MySql with PHP
>
>On Tue, 2010-10-05 at 13:35 +0100, sueandant wrote:
>> ----- Original Message -----
>> From: sueandant
>> To: ash@xxxxxxxxxxxxxxxxxxxx
>> Sent: Monday, October 04, 2010 10:29 PM
>> Subject: Re: Connecting to MySql with PHP
>>
>>
>> Thanks Ash
>>
>> Where do I find the PHP mysql module? I have uncommented both the
>> extensions php-mysql.dll and php-mysqli.dll; do I need to do more?
>>
>
>Just curious... BUT....
>
>Did you restart apache (or your webserver software) ?
>
>
Also, did you configure the windows firewall to allow connections into
the MySQL server?
J
Jason:
if you're using it via localhost, does the firewall come into play here?
All:
Also, the BIND-ADDRESS in the my.cnf, it may not be set properly
(usually they say to comment that line out)
Steve.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php