When attempting to convert WordPress to a Multisite setup, I get the error:
Error establishing a database connection
I\'m using
Had same problem, found 3 possible solutions:
Make sure: DB_NAME, DB_USER, DB_PASSWORD, and DB_HOST in your wp-config.php are really the ones expectected.
As Dima L. mentioned before, define('MULTISITE', true); is expected too.
(what solved it for me) Setting up multi-site for wordpress, changed the 'wp_blogs' table's column 'path' to an undefined location for my website. I changed it to "/" and the DB connection was re-established.