Question about Apple Mac OS X 10.4
I don’t know what's going on, PHP and MySQL aren't connecting with each other, what could be the cause of this?
To change the location where MySQL creates its socket file, do this:
1. Open your preferred text editor and create a plain text file.
2. Type this text (on two lines as shown):
3. Save the file as: /etc/my.cnf
To change the location where PHP looks for the socket file, follow these steps:
1. In Terminal: sudo cp /etc/php.ini.default /etc/php.ini
2. Open /etc/php.ini in your preferred text editor.
3. Find the [MySQL] section, and change the mysql.default_socket directive:
4. ; Default socket name for local MySQL connects. If empty, uses
5. the built-in
6. ; MySQL defaults.
7. mysql.default_socket = /var/mysql/mysql.sock
8. Change the permissions on /var/mysql so that www can read the socket, by executing this in Terminal:
sudo chmod 775 /var/mysql
Posted on Aug 26, 2008
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
Posted on Jan 02, 2017
Tips for a great answer:
Feb 22, 2016 | Computers & Internet
Mar 04, 2013 | Computers & Internet
Jul 28, 2011 | Computers & Internet
Dec 04, 2010 | Sun MySQL
Dec 26, 2009 | Sun MySQL
Oct 04, 2009 | Computers & Internet
Sep 01, 2008 | Sun MySQL
Jul 29, 2008 | Sun MySQL
Sep 26, 2007 | Microsoft Office Standard for PC
161 people viewed this question
Usually answered in minutes!
Step 2: Please assign your manual to a product: