When attempting to convert WordPress to a Multisite setup, I get the error:
Error establishing a database connection
I\'m using
If you're running WHM/cPanel and you've already checked that you've added the MULTISITE/WP_ALLOW_MULTISITE constant, you're probably running into virtual host issues.
If you're getting the database error, chances are, your name servers or A record is correct. Otherwise your domain wouldn't be pointing to your server with a database connection. But, you've probably forgotten, or missed, the domain name from the cPanel aliases.
Just head to cPanel, search for 'Aliases' and type in the domain name you're missing under 'Create a New Alias'.
You can also get to cPanel by logging into WHM, searching for 'List Accounts', searching for the account you want and clicking on the CP icon.