( ! ) Warning: mysqli_real_connect(): (HY000/2002): No such file or directory in /var/www/html/kanhacables/wp-includes/wp-db.php on line 1626
Call Stack
#TimeMemoryFunctionLocation
10.0000234400{main}( ).../index.php:0
20.0001234840require( '/var/www/html/kanhacables/wp-blog-header.php' ).../index.php:17
30.0001235512require_once( '/var/www/html/kanhacables/wp-load.php' ).../wp-blog-header.php:13
40.0001236080require_once( '/var/www/html/kanhacables/wp-config.php' ).../wp-load.php:37
50.0001237344require_once( '/var/www/html/kanhacables/wp-settings.php' ).../wp-config.php:91
60.0025842112require_wp_db( ).../wp-settings.php:126
70.0026896456wpdb->__construct( ).../load.php:426
80.0026896984wpdb->db_connect( ).../wp-db.php:631
90.0027898728mysqli_real_connect ( ).../wp-db.php:1626

( ! ) Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /var/www/html/kanhacables/wp-includes/wp-db.php on line 1658
Call Stack
#TimeMemoryFunctionLocation
10.0000234400{main}( ).../index.php:0
20.0001234840require( '/var/www/html/kanhacables/wp-blog-header.php' ).../index.php:17
30.0001235512require_once( '/var/www/html/kanhacables/wp-load.php' ).../wp-blog-header.php:13
40.0001236080require_once( '/var/www/html/kanhacables/wp-config.php' ).../wp-load.php:37
50.0001237344require_once( '/var/www/html/kanhacables/wp-settings.php' ).../wp-config.php:91
60.0025842112require_wp_db( ).../wp-settings.php:126
70.0026896456wpdb->__construct( ).../load.php:426
80.0026896984wpdb->db_connect( ).../wp-db.php:631
90.0029898472wpdb->db_connect( ).../wp-db.php:1653
100.0029898616mysql_connect ( ).../wp-db.php:1658

( ! ) Warning: mysql_connect(): No such file or directory in /var/www/html/kanhacables/wp-includes/wp-db.php on line 1658
Call Stack
#TimeMemoryFunctionLocation
10.0000234400{main}( ).../index.php:0
20.0001234840require( '/var/www/html/kanhacables/wp-blog-header.php' ).../index.php:17
30.0001235512require_once( '/var/www/html/kanhacables/wp-load.php' ).../wp-blog-header.php:13
40.0001236080require_once( '/var/www/html/kanhacables/wp-config.php' ).../wp-load.php:37
50.0001237344require_once( '/var/www/html/kanhacables/wp-settings.php' ).../wp-config.php:91
60.0025842112require_wp_db( ).../wp-settings.php:126
70.0026896456wpdb->__construct( ).../load.php:426
80.0026896984wpdb->db_connect( ).../wp-db.php:631
90.0029898472wpdb->db_connect( ).../wp-db.php:1653
100.0029898616mysql_connect ( ).../wp-db.php:1658
WordPress › Error

No such file or directory

Error establishing a database connection

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.