Database error after network setup, caused by SUBDOMAIN_INSTALL

I'm setting up a network install following this guide:

I've added the content to my .htaccess and wp-config.php as requested in the Tools > Network section

Then I click 'Log In' as per this message:

Once you complete these steps, your network is enabled and configured. You will have to log in again. Log In

I end up with this error: Error establishing a database connection

I've narrowed it down to this line in the wp-config.php. When I comment it out, I can at least login:

define('SUBDOMAIN_INSTALL', false);

Thoughts? This was a fresh install that appeared to be working before turning on MS. FYI, this was test site I setup on my Lunarpages account on a domain that is already being parked in a subdirectory, but doesn't appear that way when the domain name is accessed directly. I don't know if that would make a difference.


  • highfive
    • Design Lord, Child of Thor

    Forgot to mention setting the variable the other way doesn't work either, same error. I was really just hoping this would sound familiar as it has a pretty specific cause. This isn't even where this project will be hosted in the end.

    Since it is kind of a throw away install I don't want to waste too much of anyone's time on it. I assume you question related to setting the variable to true?

    If this isn't an obvious problem I'll start over on a dedicated hosting account or something. Thanks.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.