Godaddy multisite database connection failure
-
Hello all,
I want to add a second site via sub-directory for a second blog…
The company owner posts news and we have a mother that is posting “a day in the life” kind of thing. This is an established functioning site designed by previous webmaster, who quit. The site is newhorizonsaba.comI’m new to WordPress and php, I’m an oldschool HTML kinda guy.
I have installed wordpress with wamp on my laptop for a test bed. I was able to successfully add multisite to the test site that is on my laptop.First I backed up the site and database.
Following the directions on the godaddy support page, I added the define(‘WP_ALLOW_MULTISITE’, true); to my wp-config.php. Everything went fine and I logged back in, disabled all plugins and selected network setup. I then copied the info into wp-comfig and htaccess as directed. Now I get “Error establishing a database connection”
I reverted back to the original wp-config and htaccess and my site was back up.
If I add the following to my wp-config I get the database connection failure (before editing htaccess).
define(‘MULTISITE’, true);
define(‘SUBDOMAIN_INSTALL’, false);
define(‘DOMAIN_CURRENT_SITE’, ‘newhorizonsaba.com’);
define(‘PATH_CURRENT_SITE’, ‘/index.php/’);
define(‘SITE_ID_CURRENT_SITE’, 1);
define(‘BLOG_ID_CURRENT_SITE’, 1);I checked that my database on godaddy does contains the following tables:
wp_users
wp_usermeta
wp_blogs
wp_signups
wp_site
wp_sitemeta
wp_registration_log
wp_blog_versionsWhere did I go wrong? Is there another way to add a second blog to this site?
- The topic ‘Godaddy multisite database connection failure’ is closed to new replies.