Hi,
I’ve been asked to take over hosting of a client’s existing website and I’m struggling to get it up and running on my test version, as it is using a very different approach to PHP to how I would normally do things. Any help with understanding some of the issues would be much appreciated.
The config file for the database specifies a MySQL socket :/var/lib/mysql/mysql.sock and when I load the site, I get an unknown MySQL server host error. I’m not sure whether the issue is with the path specified or whether I need to do something so that this socket file is created automatically.
I’ve read a few threads relating to MySQL sockets but the suggestions are all command line based, which is not permitted on my shared server.
If anyone can help me get my head round what sockets are, and how I might find a solution on this, I’d be very grateful.
Many thanks in advance.