Title: Advanced debug of database access errors
Last modified: August 20, 2016

---

# Advanced debug of database access errors

 *  [jdykes1980](https://wordpress.org/support/users/jdykes1980/)
 * (@jdykes1980)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/advanced-debug-of-database-access-errors/)
 * Is there a way to get specific database errors when I get the “Error establishing
   database connection” message on install of a new WP site? I’ve confirmed that
   the server can reach the database host on port 3306 via Telnet and the credentials
   in the wp-config.php file are correct.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/advanced-debug-of-database-access-errors/#post-2987921)
 * That’s about as specific as you’re going to get if there’s a database connection
   error. Best guess – there’s a problem with the database host details in wp-config.
   php
 *  Thread Starter [jdykes1980](https://wordpress.org/support/users/jdykes1980/)
 * (@jdykes1980)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/advanced-debug-of-database-access-errors/#post-2987929)
 * I copied the various database host details from the wp-config.php file into MySQL
   Workbench installed on the server and was able to make a successful connection
   to the database, perform queries, etc.
 * I’ll close this issue if I can’t get the info I need from WordPress. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Advanced debug of database access errors’ is closed to new replies.

## Tags

 * [database connection](https://wordpress.org/support/topic-tag/database-connection/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 2 replies
 * 2 participants
 * Last reply from: [jdykes1980](https://wordpress.org/support/users/jdykes1980/)
 * Last activity: [13 years, 9 months ago](https://wordpress.org/support/topic/advanced-debug-of-database-access-errors/#post-2987929)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
