I've been developing a site network in a directory on my local server, and recently tried to upload it to the root of a staging server. I've triple-checked my database credentials and I'm pretty sure I've updated all the URLs in the database, but when I try to view the stage I get "Error establishing database connection". When I go to wp-admin, I get:
Error establishing database connection
If your site does not display, please contact the owner of this network. If you are the owner of this network please check that MySQL is running properly and all tables are error free.
Could not find site my-stage.com. Searched for table wp_blogs in database my_database. Is that right?
I've successfully uploaded another multisite install to a directory on a server run by the same host, so I think the stumbling block is moving it to root.
Googling leads me to the following link: http://wordpress.kdari.net/2010/11/moving-wordpress-multisite-to-root.html That precisely describes my issue, but doesn't actually spell out the fix! I've left a comment, but it's under moderation.
Any thoughts? Help would be appreciated.