Re: [PHP] Connecting to MySql with PHP

2010-10-04 Thread mrfroasty
The code execute fine on my LAMP server, but I am wondering does localhost really works on Windows ?As this on MAC you need to actually tell a complete path.On MAC with Zend-Server I had to mention something like /var/tmp/mysql Anyways, by looking on the error it might be mysql server is not

Re: [PHP] Connecting to MySql with PHP

2010-10-04 Thread a...@ashleysheridan.co.uk
Have you installed the php mysql module? Basically, it tells php how to connect to mysql. This question has come up a few times this week, have you tried installing something like xampp or easyphp rather than the individual software components: Apache, php & mysql. Thanks, Ash http://www.ashle