Re: Connecting PHP to MySQL on Windows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 6, 2011 at 01:13, michael manning <michaelgmanning@xxxxxxxxx> wrote:
> Hi,
>
> I have installed MySQL 5.1.52, Apache 2.2.15 and PHP 5.3.2 on my Windows
> Vista computer.
> The MySQL works fine with the command line client and I have tested the
> Apache and PHP and it appears fine when I test this with the phpinfo()
> function.  There is just one exception - I cannot connect to a MySQL
> database from within a PHP script.  I have installed the MySQLi extension

    I know you said MySQL works fine from the CLI, but a stupid
question: is the MySQL server running while you're trying to test from
PHP?  And, if so, on what port does netstat show it running?

-- 
</Daniel P. Brown>
Network Infrastructure Manager
Documentation, Webmaster Teams
http://www.php.net/

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux