• Resolved fearRacious

    (@fearracious)


    Hello guys..

    So, I have finished created a multisite.And published it..The site was on a 209.105.244.10/~executiv and moved it to http://executiveairambulance.com but after doing it the it gives me an error saying (Error establishing a database connection)..I have did the instruction shown here http://halfelf.org/2012/moving-wordpress-multisite/ and the http://interconnectit.com/products/search-and-replace-for-wordpress-databases/ intrusction here. I also,change the site on the wp-config which the code is

    /** Allow Multisite **/

    define(‘WP_ALLOW_MULTISITE’, true);
    define(‘MULTISITE’, true);
    define(‘SUBDOMAIN_INSTALL’, false);
    $base = ‘/’;
    define(‘DOMAIN_CURRENT_SITE’, ‘executiveairambulance.com’ );
    define(‘PATH_CURRENT_SITE’, ‘/’);
    define(‘SITE_ID_CURRENT_SITE’, 1);
    define(‘BLOG_ID_CURRENT_SITE’, 1);

    and the htaccess
    # BEGIN WordPress
    RewriteEngine On
    RewriteBase /~executiv/
    RewriteRule ^index\.php$ – [L]

    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ – [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    # END WordPress

    So,anyone can help me how to fix this??

Viewing 1 replies (of 1 total)
  • Thread Starter fearRacious

    (@fearracious)

    Ok..Nevermind my post..I figured it out..It was my wp_blog and wp_site that was the…I added http: on it but it should be just domain.com and the path..

    Lol…

Viewing 1 replies (of 1 total)

The topic ‘Error establishing Database connection’ is closed to new replies.