Re: [PHP-DB] Connecting PHP to MySQL on Windows - RESOLVED

2011-01-10 Thread michael manning
On Fri, Jan 7, 2011 at 4:18 AM, michael manning michaelgmann...@gmail.comwrote: Hi, I swapped out 'localhost for '127.0.0.1' in the url but this had no effect. I had a look at my hosts file at c:\windows\system32\drivers\etc and this contained: # Copyright (c) 1993-2006 Microsoft

Re: [PHP-DB] Connecting PHP to MySQL on Windows

2011-01-06 Thread michael manning
, Daniel Brown danbr...@php.net wrote: On Thu, Jan 6, 2011 at 01:13, michael manning michaelgmann...@gmail.com 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

Re: [PHP-DB] Connecting PHP to MySQL on Windows

2011-01-06 Thread michael manning
localhost and so this seems fine as well. cheers Mike On Fri, Jan 7, 2011 at 1:25 PM, Daniel Brown danbr...@php.net wrote: On Thu, Jan 6, 2011 at 21:12, michael manning michaelgmann...@gmail.com wrote: Hi Daniel, When testing with the CLI, netstat shows: [snip!] What happens when

[PHP-DB] Connecting PHP to MySQL on Windows

2011-01-05 Thread michael manning
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