Originally Posted by David Dreezer
Connection to server failed? NOT permission denied?

Find out where mysql.sock is located.

edit this in your php.ini to match
; Default socket name for local MySQL connects. If empty, uses the built-in
; MySQL defaults.
mysql.default_socket =

Restart Apache or IIS or whatever you're using.


Connection to server FAILED.
I am running IIS. Windows 2003 Server Enterprise.
I am new to MySQL (I use MSSQL server on my other machines.)
With regards to the "socket". Does this refer to the "port" number created?

I just re-ran the MySQL Server Instance Configuration Wizard.
I selected the following options...

Detailed Configuration
Server Machine
Multifunctional Database
Online Transaction Processing (OLTP)
Enable TCP/IP Networking on Port 3306
Enable Strict Mode
Standard Character Set
Installed as a service
No Anonymous Account