Internet Explorer in all versions is a dangerous browser. It has many deficiencies and security vulnerabilities that make it unsafe.
You should instead use a current version of Chrome or
Firefox if you're using windows or Safari for the Mac.
This site will not function properly in Internet Explorer. Emails will not be sent, downloads will not function, assignments will not be
submitted...
Setting up MySQL for PHP Development on a Mac
Step 8: Setting up MySQL for PHP Development on a Mac
Complete Configuration of the MySQL Socket
To create the link to the socket file that PHP needs, from the terminal execute this command:
sudo ln -s /tmp/mysql.sock /var/mysql/mysql.sock
You may again be asked for your password and as long as no error is shown then everything is okay.
PHP should now be able to access databases server by your MySQL server.