When attempting to convert WordPress to a Multisite setup, I get the error:
Error establishing a database connection
I\'m using
I struggled a long time because of this issue. And finally found a solution.
You should not add all those settings at once in the wp-config.php file. Follow the exact steps described here: http://codex.wordpress.org/Create_A_Network
Only add the following code as the first step:
/* Multisite */
define( 'WP_ALLOW_MULTISITE', true );
And then refresh your page. After that, in your administration panel go to Tools -> Network Setup and choose your sub-site settings.
For the rest, just use the instructions from the link above.
Good luck!