w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Server show this error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock

First, MySQL files should be on the server. Second, regarding your socket problem. It depends, if that socket is a UNIX domain socket, the error could indicate something wrong with the OS which is running on the server or a bug in MySQL. If it's a internet domain socket, it could indicate problems with your network configuration/wrong IP configuration in your database etc.

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.