Title: ReInstalled fresh site &#8211; Multisite DB errors
Last modified: June 21, 2020

---

# ReInstalled fresh site – Multisite DB errors

 *  Resolved [norrette](https://wordpress.org/support/users/norrette/)
 * (@norrette)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/reinstalled-fresh-site-multisite-db-errors/)
 * Hi there,
 * I am fairly new to wordpress.org but a long time user of wordpress.com.
 * Having created a new hosted site and installed via Softalacious I am trying to
   create a subdomain Multi wordpress site. My hosting account has sub-domain capability.
 * I have copied the code issued by wordpress into my wp-config.php and into my .
   htaccess but when I try to access the site or the admin site I get : Error establishing
   a database connection. Switching on debug i see the following tables are missing
 * wp6g_1_posts: Table ‘mysite_a2wp838.wp6g_1_posts’ doesn’t exist
    wp6g_1_comments:
   Table ‘mysite_a2wp838.wp6g_1_comments’ doesn’t exist wp6g_1_links: Table ‘mysite_a2wp838.
   wp6g_1_links’ doesn’t exist wp6g_1_options: Table ‘mysite_a2wp838.wp6g_1_options’
   doesn’t exist wp6g_1_postmeta: Table ‘mysite_a2wp838.wp6g_1_postmeta’ doesn’t
   exist wp6g_1_terms: Table ‘mysite_a2wp838.wp6g_1_terms’ doesn’t exist wp6g_1_term_taxonomy:
   Table ‘mysite_a2wp838.wp6g_1_term_taxonomy’ doesn’t exist wp6g_1_term_relationships:
   Table ‘mysite_a2wp838.wp6g_1_term_relationships’ doesn’t exist wp6g_1_termmeta:
   Table ‘mysite_a2wp838.wp6g_1_termmeta’ doesn’t exist wp6g_1_commentmeta: Table‘
   mysite_a2wp838.wp6g_1_commentmeta’ doesn’t exist
 * Now i DO have tables with these names but WITHOUT the insert ” _1_”
    eg wp6g_posts
   wp6g_options
 * etc, etc
 * I wonder which part of wordpress is calling for these names and not the same 
   as all the others
 * Any help would be much appreciated
 * Norrette
    -  This topic was modified 5 years, 10 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [Prashant Singh](https://wordpress.org/support/users/prashantvatsh/)
 * (@prashantvatsh)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/reinstalled-fresh-site-multisite-db-errors/#post-13016467)
 * Hi
 * > I have copied the code issued by wordpress into my wp-config.php and into my.
   > htaccess
 *  Please let me know, this you have copied from your dashboard or wordpress.org?
 * Kind Regards
 *  Thread Starter [norrette](https://wordpress.org/support/users/norrette/)
 * (@norrette)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/reinstalled-fresh-site-multisite-db-errors/#post-13016732)
 * Thanks Prashant,
 * I copied them from the pop-up on my dashboard when I clicked on Network set-up.
 * The hosting company tell me I need a developer to fix it. Yet given I have spent
   30 years in IT, and fairly experienced in various sytems, I can’t see anyone 
   doing anything differently to what I have done.
 * Everywhere I look online people are using the sub directory method and not the
   subdomain method. Maybe it is that which is not working on the latest WordPress?
 *  [Prashant Singh](https://wordpress.org/support/users/prashantvatsh/)
 * (@prashantvatsh)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/reinstalled-fresh-site-multisite-db-errors/#post-13016738)
 *     ```
       define('WP_ALLOW_MULTISITE', true ); 
       define('MULTISITE', true);
       define('SUBDOMAIN_INSTALL', true); 
       define('DOMAIN_CURRENT_SITE', 'Your_Data');
       define('PATH_CURRENT_SITE', 'Your_Data');
       define('SITE_ID_CURRENT_SITE', 1); 
       define('BLOG_ID_CURRENT_SITE', 1);
       ```
   
 * Please let me know if you have the above code lines in your wp-config.php file.
 * Note: ‘Your_Data’ is used just for an example. On place of that you will see 
   a specific value in the file.
    -  This reply was modified 5 years, 10 months ago by [Prashant Singh](https://wordpress.org/support/users/prashantvatsh/).
 *  Thread Starter [norrette](https://wordpress.org/support/users/norrette/)
 * (@norrette)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/reinstalled-fresh-site-multisite-db-errors/#post-13016849)
 * Just a quick update for anyone who has the same issue. The Hosting company recommends
   we install an “A2 optimised” version of wordpress. (which turns out to be 5 years
   old)
 * This time I uninstalled and reinstalled with vanilla WordPress version 5.4.
 * So far so good
 *  [Prashant Singh](https://wordpress.org/support/users/prashantvatsh/)
 * (@prashantvatsh)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/reinstalled-fresh-site-multisite-db-errors/#post-13017608)
 * Glad to know that 🙂
 *  Thread Starter [norrette](https://wordpress.org/support/users/norrette/)
 * (@norrette)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/reinstalled-fresh-site-multisite-db-errors/#post-13017645)
 * Yes, I now have a clean perfect install of WP 5.4.2.
 * This version of WP installation has a check box for MultiSites and when selected
   already installs the populated wp-conf and .htaccess files. The only change I
   needed was to change “define(‘SUBDOMAIN_INSTALL’…)” from False to true.
 * Hosting company error. Thanks for your time Prashant

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘ReInstalled fresh site – Multisite DB errors’ is closed to new replies.

## Tags

 * [multisites](https://wordpress.org/support/topic-tag/multisites/)

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 6 replies
 * 2 participants
 * Last reply from: [norrette](https://wordpress.org/support/users/norrette/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/reinstalled-fresh-site-multisite-db-errors/#post-13017645)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
