WordPress.org

Support

Support » Multisite » [Resolved] That MU Error: Error establishing database connection

[Resolved] That MU Error: Error establishing database connection

  • I’m getting this on a fresh install of 3.4.2. When I add these lines to wp-config.php to make it a multi-site:

    define('WP_ALLOW_MULTISITE', true);
    define('SUBDOMAIN_INSTALL', false);
    $base = '/';
    define('DOMAIN_CURRENT_SITE', 'www.mydomainname.net');
    define('PATH_CURRENT_SITE', '/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);
    define('MULTISITE', true);

    I get the infamous “Error establishing database connection”. When I remove the lines, I’m a single site, but everything works. I have verified my MySQL username, password, DB name and DB host.

    What am I missing?

    Regards,
    Eric

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] That MU Error: Error establishing database connection’ is closed to new replies.
Skip to toolbar