Title: New server: &#8220;cannot access database&#8221; for version update
Last modified: August 18, 2016

---

# New server: “cannot access database” for version update

 *  [TiffanyBlitz](https://wordpress.org/support/users/tiffanyblitz/)
 * (@tiffanyblitz)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/new-server-cannot-access-database-for-version-update/)
 * After having some trouble with the migration, I thought the easiest way to make
   sur my WP files were clean would be to upload the new version (2.3.1) cleanly.
 * Then I tried to access the “update” function, and it tells me I cannot access
   the database.
 * I checked the wp-config.php, and the username and password are definately right.
 * I’m using 1 & 1 for hosting, if anyone’s familiar with them. On the MySQL admin
   page, it lists your dbs, and shows a “host name” for each. I wasn’t sure if this
   meant that was what needed to be in the ‘99% sure you won’t need to change this’
   field, so I’ve tried it both ways. Still no luck.
 * My fear is that this is somehow related to the comment they have posted at the
   top of that page:
 * >  Your MySQL databases are stored behind a firewall to protect your data. You
   > can only access each one exclusively through your server. Direct access to 
   > your MySQL databases using a home PC (external ODBC connection) cannot be established.
 * *IS* that the problem? Or am I missing something else??
 * Thanks!

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

 *  Thread Starter [TiffanyBlitz](https://wordpress.org/support/users/tiffanyblitz/)
 * (@tiffanyblitz)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/new-server-cannot-access-database-for-version-update/#post-648105)
 * Just wanted to bump this up for today, and see if anyone knew what to do…
 * I’m desperate!
 * My blog is at [http://www.tiffanyblitz.com](http://www.tiffanyblitz.com), if 
   you want to take a look.
 * Please? 🙂
 *  Thread Starter [TiffanyBlitz](https://wordpress.org/support/users/tiffanyblitz/)
 * (@tiffanyblitz)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/new-server-cannot-access-database-for-version-update/#post-648112)
 * Anyone?
 * It’s actually [http://www.tiffanyblitz.com/blog](http://www.tiffanyblitz.com/blog)
 * I’m so stressed out about this I can’t even remember my own URL… 😛
 *  [JessicaW](https://wordpress.org/support/users/jessicaw/)
 * (@jessicaw)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/new-server-cannot-access-database-for-version-update/#post-648114)
 * Open and edit your wp-config.php file
 *  Thread Starter [TiffanyBlitz](https://wordpress.org/support/users/tiffanyblitz/)
 * (@tiffanyblitz)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/new-server-cannot-access-database-for-version-update/#post-648116)
 * Um, yeah. I did that.
 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/new-server-cannot-access-database-for-version-update/#post-648118)
 * Also make sure you have the correct values for DB_NAME, DB_USER, and DB_PASSWORD.
 * 1and1.com will show you all the information you need. As Jessica said, edit your
   wp-config.php file and make sure you have the correct info there.
 * Note that with 1and1.com, the DB_NAME will be like db222222669 but the DB_USER
   will be **dbo222222669** (the user has the letter o after db).
 *  Thread Starter [TiffanyBlitz](https://wordpress.org/support/users/tiffanyblitz/)
 * (@tiffanyblitz)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/new-server-cannot-access-database-for-version-update/#post-648119)
 * Michael –
 * You have a gift for making me feel stupid, but I’ll take it if it solves the 
   problem. I had just pasted the db name in both fields, not catching the “o”.
 * BUT:
 * Now I get this ALL NEW ERROR trying to access either the blog or the updatescript:
 * >  Warning: wp_cache_postload(/homepages/18/d222955516/htdocs/blog/wp-content/
   > plugins/wp-cache/wp-cache-phase2.php) [function.wp-cache-postload]: failed 
   > to open stream: No such file or directory in /homepages/18/d222955516/htdocs/
   > blog/wp-content/advanced-cache.php on line 63
   > Fatal error: wp_cache_postload() [function.require]: Failed opening required‘/
   > homepages/18/d222955516/htdocs/blog/wp-content/plugins/wp-cache/wp-cache-phase2.
   > php’ (include_path=’.:/usr/local/lib/php’) in /homepages/18/d222955516/htdocs/
   > blog/wp-content/advanced-cache.php on line 63
 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/new-server-cannot-access-database-for-version-update/#post-648121)
 * My first guess is you didn’t get a clean upload of all the WordPress files.
 * If you aren’t using Filezilla for FTP then please consider doing so.
 * Resource:
    [Uploading WordPress to a remote host](http://codex.wordpress.org/Uploading_WordPress_to_a_remote_host)
 *  Thread Starter [TiffanyBlitz](https://wordpress.org/support/users/tiffanyblitz/)
 * (@tiffanyblitz)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/new-server-cannot-access-database-for-version-update/#post-648123)
 * I’ve uploaded WP several times, but of course I’m game to find out it was something
   stupid again.
 * First, I will go find Filezilla, as I am using something else (which is obviously
   lousy! LOL).
 *  Thread Starter [TiffanyBlitz](https://wordpress.org/support/users/tiffanyblitz/)
 * (@tiffanyblitz)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/new-server-cannot-access-database-for-version-update/#post-648125)
 * Okay, got FileZilla. Re-uploaded unzipped 2.3.1 as downloaded from WP.
 * Went to the /upgrade.php and got this:
 * >  Warning: wp_cache_postload(/homepages/18/d222955516/htdocs/blog/wp-content/
   > plugins/wp-cache/wp-cache-phase2.php) [function.wp-cache-postload]: failed 
   > to open stream: No such file or directory in /homepages/18/d222955516/htdocs/
   > blog/wp-content/advanced-cache.php on line 63
   > Fatal error: wp_cache_postload() [function.require]: Failed opening required‘/
   > homepages/18/d222955516/htdocs/blog/wp-content/plugins/wp-cache/wp-cache-phase2.
   > php’ (include_path=’.:/usr/local/lib/php’) in /homepages/18/d222955516/htdocs/
   > blog/wp-content/advanced-cache.php on line 63
 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/new-server-cannot-access-database-for-version-update/#post-648126)
 * Try deleting that cache plugin.
 *  Thread Starter [TiffanyBlitz](https://wordpress.org/support/users/tiffanyblitz/)
 * (@tiffanyblitz)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/new-server-cannot-access-database-for-version-update/#post-648129)
 * Oh, you are truly my hero!
 * Thank you SO much!!
 * Do you suppose I could re-download and re-install that plugin, or should I let
   well enough alone?
 * I do have slow loading issues (my theme designer says it’s because I have too
   many widgets), so I was thinking that would help…

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

The topic ‘New server: “cannot access database” for version update’ is closed to
new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 11 replies
 * 3 participants
 * Last reply from: [TiffanyBlitz](https://wordpress.org/support/users/tiffanyblitz/)
 * Last activity: [18 years, 7 months ago](https://wordpress.org/support/topic/new-server-cannot-access-database-for-version-update/#post-648129)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
