( ! ) Warning: mysqli_real_connect(): (HY000/2002): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) in /home/anursesc/public_html/jewelsyard.com/wp-includes/class-wpdb.php on line 1982
Call Stack
#TimeMemoryFunctionLocation
10.0004360984{main}( ).../index.php:0
20.0006361360require( '/home/anursesc/public_html/jewelsyard.com/wp-blog-header.php ).../index.php:17
30.0007361744require_once( '/home/anursesc/public_html/jewelsyard.com/wp-load.php ).../wp-blog-header.php:13
40.0007362056require_once( '/home/anursesc/public_html/jewelsyard.com/wp-config.php ).../wp-load.php:50
50.0009363432require_once( '/home/anursesc/public_html/jewelsyard.com/wp-settings.php ).../wp-config.php:97
60.0041740328require_wp_db( ).../wp-settings.php:133
70.0042742128wpdb->__construct( $dbuser = 'anursesc_wp487', $dbpassword = '1R]J-p8Cn4.1.[!r47K(W]@)JBCYH]Sb)]@5(6!V9!yg]-t@.c5B])[', $dbname = 'anursesc_wp487', $dbhost = 'localhost' ).../load.php:695
80.0042742128wpdb->db_connect( $allow_bail = ??? ).../class-wpdb.php:767
90.0044743000mysqli_real_connect( $link = class mysqli { public $client_info = '5.7.40'; public $client_version = 50740; public $connect_errno = 2002; public $connect_error = 'Can\'t connect to local MySQL server through socket \'/var/lib/mysql/mysql.sock\' (111)'; public $errno = 2002; public $error = 'Can\'t connect to local MySQL server through socket \'/var/lib/mysql/mysql.sock\' (111)' }, $host = 'localhost', $user = 'anursesc_wp487', $password = '1R]J-p8Cn4.1.[!r47K(W]@)JBCYH]Sb)]@5(6!V9!yg]-t@.c5B])[', $database = NULL, $port = NULL, $socket = NULL, $flags = 0 ).../class-wpdb.php:1982
WordPress › Error

Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)

Error establishing a database connection

This either means that the username and password information in your wp-config.php file is incorrect or that contact with the database server at localhost could not be established. This could mean your host’s database server is down.

If you are unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress support forums.