( ! ) Warning: mysqli_real_connect(): (HY000/2002): Connection refused in /home/www/htdocs/wp-includes/wp-db.php on line 1633
Call Stack
#TimeMemoryFunctionLocation
10.0000228648{main}( ).../index.php:0
20.0000229088require( '/home/www/htdocs/wp-blog-header.php' ).../index.php:17
30.0000229752require_once( '/home/www/htdocs/wp-load.php' ).../wp-blog-header.php:13
40.0001230360require_once( '/home/www/htdocs/wp-config.php' ).../wp-load.php:37
50.0001231600require_once( '/home/www/htdocs/wp-settings.php' ).../wp-config.php:101
60.0017746576require_wp_db( ).../wp-settings.php:116
70.0018801152wpdb->__construct( ).../load.php:425
80.0018802272wpdb->db_connect( ).../wp-db.php:632
90.0018804016mysqli_real_connect ( ).../wp-db.php:1633

( ! ) Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/www/htdocs/wp-includes/wp-db.php on line 1665
Call Stack
#TimeMemoryFunctionLocation
10.0000228648{main}( ).../index.php:0
20.0000229088require( '/home/www/htdocs/wp-blog-header.php' ).../index.php:17
30.0000229752require_once( '/home/www/htdocs/wp-load.php' ).../wp-blog-header.php:13
40.0001230360require_once( '/home/www/htdocs/wp-config.php' ).../wp-load.php:37
50.0001231600require_once( '/home/www/htdocs/wp-settings.php' ).../wp-config.php:101
60.0017746576require_wp_db( ).../wp-settings.php:116
70.0018801152wpdb->__construct( ).../load.php:425
80.0018802272wpdb->db_connect( ).../wp-db.php:632
90.0021803752wpdb->db_connect( ).../wp-db.php:1660
100.0021803896mysql_connect ( ).../wp-db.php:1665

( ! ) Warning: mysql_connect(): Connection refused in /home/www/htdocs/wp-includes/wp-db.php on line 1665
Call Stack
#TimeMemoryFunctionLocation
10.0000228648{main}( ).../index.php:0
20.0000229088require( '/home/www/htdocs/wp-blog-header.php' ).../index.php:17
30.0000229752require_once( '/home/www/htdocs/wp-load.php' ).../wp-blog-header.php:13
40.0001230360require_once( '/home/www/htdocs/wp-config.php' ).../wp-load.php:37
50.0001231600require_once( '/home/www/htdocs/wp-settings.php' ).../wp-config.php:101
60.0017746576require_wp_db( ).../wp-settings.php:116
70.0018801152wpdb->__construct( ).../load.php:425
80.0018802272wpdb->db_connect( ).../wp-db.php:632
90.0021803752wpdb->db_connect( ).../wp-db.php:1660
100.0021803896mysql_connect ( ).../wp-db.php:1665
WordPress › Error

Connection refused

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 127.0.0.1. 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.