Zenithies » PHP »

Windows 7 PHP MySQL connection problem


If you can't connect to MySQL server from PHP on Windows 7 and you are sure all other steps eg. placing libraries to system folder etc. was done, there is one more thing which you can try.

Change server address from 'localhost' to '127.0.0.1'

This has something to do with named pipes addressing... And it worked for me.

last update: 2010-02-13 | author: Zenithy