Title: Error establishing a database connection
Last modified: August 22, 2016

---

# Error establishing a database connection

 *  [Abu Rasheedah](https://wordpress.org/support/users/abu-rasheedah/)
 * (@abu-rasheedah)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/error-establishing-a-database-connection-604/)
 * i just dont know what 2 do

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

 *  [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/error-establishing-a-database-connection-604/#post-5252615)
 * You will need to provide more information before anyone can help you. What have
   you tried? When did the problem occur? is this a new site/old site, etc. Provide
   as much detail as possible.
 * General Info: Your/The WordPress wp-config.php file is the primary database connection
   file for WordPress. Usually with this type of error the problem is going to have
   something to do with your wp-config.php file. ie the database connection information
   is incorrect in your wp-config.php file.
 *  [mequeen](https://wordpress.org/support/users/mequeen/)
 * (@mequeen)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/error-establishing-a-database-connection-604/#post-5252811)
 * I am having serious trouble accessing my database at all, this has been happening
   for several months since a w3c line of code after the doc type to me hijacked
   the access even with guides on how to repair it always returns to the same problem
   detail.
 * I have tried on several occasions to do a basic line of code using the element
   access and it repeats the cycle . Below is the piece that is driving me to the
   point of a complete change for my site. mphytab.com.au/wordpress.
 * <html xmlns=”[http://www.w3.org/1999/xhtml”><head&gt](http://www.w3.org/1999/xhtml”><head&gt);
   
   <meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″> <title>Database
   Error</title>
 * </head>
    <body> <h1>Error establishing a database connection</h1>
 * </body></html>
 *  Thread Starter [Abu Rasheedah](https://wordpress.org/support/users/abu-rasheedah/)
 * (@abu-rasheedah)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/error-establishing-a-database-connection-604/#post-5252873)
 * I can not sign in to wordpress. It keep telling me to reload. nor can I acess
   my cpanel
 *  [kangana](https://wordpress.org/support/users/kangana/)
 * (@kangana)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/error-establishing-a-database-connection-604/#post-5252874)
 * I had same problem and I had to uninstall everything.
 * Now I’m trying it on a fresh pc the versions of XAMPP and WP made by Bitnami,
   but also those look like there is something not clear… same problem for downloadinbg
   themes or plugins. Bitnami made a new path for WP, and XAMPP doesn’t knows it
   at all.
 * Normally it should be `/opt/lampp/htdocs` but with Bitnami installation it becomes`/
   opt/apps/wordpress/htdocs/` and this makes the difference in many other paths.
   How can this be an automated installation if it doesn’t see paths and/or links
   to them?
 * They should erase that word of “easier”.
 *  Thread Starter [Abu Rasheedah](https://wordpress.org/support/users/abu-rasheedah/)
 * (@abu-rasheedah)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/error-establishing-a-database-connection-604/#post-5252899)
 * The following is used for audio purpose. I have the Radiant Pro Theme and i am
   trying to make my website automatically open with audio 24 hrs.
 * 1 Can it be done with the sliders in affect.
    2 If not how can i make it work.
   I am connected to Sam Broadcaster.
 * <iframe src=”[http://www.mftic.com/mmiradio.php&#8221](http://www.mftic.com/mmiradio.php&#8221);
   width=”500″ height=”390″ scrolling=”no” frameborder=”0″></iframe>

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

The topic ‘Error establishing a database connection’ is closed to new replies.

 * In: [Localhost Installs](https://wordpress.org/support/forum/localhost-installs/)
 * 5 replies
 * 4 participants
 * Last reply from: [Abu Rasheedah](https://wordpress.org/support/users/abu-rasheedah/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/error-establishing-a-database-connection-604/#post-5252899)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
