( ! ) Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) in /var/www/html/wp-includes/wp-db.php on line 1416 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0002 | 232752 | {main}( ) | ../index.php:0 |
2 | 0.0003 | 235960 | require( '/var/www/html/wp-blog-header.php' ) | ../index.php:17 |
3 | 0.0005 | 251080 | require_once( '/var/www/html/wp-load.php' ) | ../wp-blog-header.php:12 |
4 | 0.0006 | 262736 | require_once( '/var/www/html/wp-config.php' ) | ../wp-load.php:29 |
5 | 0.0013 | 342736 | require_once( '/var/www/html/wp-settings.php' ) | ../wp-config.php:104 |
6 | 0.0231 | 2817536 | require_wp_db( ) | ../wp-settings.php:79 |
7 | 0.0255 | 3119328 | require_once( '/var/www/html/wp-content/db.php' ) | ../load.php:347 |
8 | 0.0264 | 3282648 | W3_Db::instance( ) | ../db.php:43 |
9 | 0.0276 | 3414056 | W3_Db->initialize( ) | ../Db.php:60 |
10 | 0.0276 | 3414104 | W3_DbCache->initialize( ) | ../Db.php:81 |
11 | 0.0276 | 3414152 | W3_DbCallUnderlying->initialize( ) | ../DbCache.php:182 |
12 | 0.0277 | 3414496 | W3_Db->initialize( ) | ../Db.php:400 |
13 | 0.0277 | 3414496 | W3_DbProcessor->initialize( ) | ../Db.php:81 |
14 | 0.0277 | 3414544 | W3_Db->default_initialize( ) | ../Db.php:291 |
15 | 0.0277 | 3414784 | wpdb->__construct( ) | ../Db.php:165 |
16 | 0.0278 | 3416296 | wpdb->db_connect( ) | ../wp-db.php:612 |
17 | 0.0278 | 3417360 | mysql_connect ( ) | ../wp-db.php:1416 |
This either means that the username and password information in your wp-config.php
file is incorrect or we can't contact the database server at localhost
. This could mean your host's database server is down.
If you're unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.