Subdomain install: Error establishing a database connection
-
As the title said, I did a network install with subdomains as my option… turned out that maybe I chose the wrong thing? I am on justhost and I have added the wildcard subdomain on cpanel. Well, it sort of worked. With no sites, all subdomains redirect to the main site as expected.
When I added a subdomain site, it gave me all the welcome emails with the address and everything. Except when visiting the subdomain, it gave me an “Error establishing a database connection” text. On WP>Super Admin>Sites, The Visit link goes to: “wp-admin/ms-sites.php” and the Backend link goes to “wp-admin”. Under Dashboard>My Sites strangely there are 2 sets of “Visit | Dashboard” links, one with my main site’s name above it, and the other with nothing above it. Is it supposed to be like this?
If nothing is working out I’m actually thinking of switching to subdirectories but don’t know how. Do I just modify wp-config?
Thanks a lot for the help.
- The topic ‘Subdomain install: Error establishing a database connection’ is closed to new replies.