Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
upgrade causing huge server load?
Avatar
tsilvestre
San Jose, Ca
Member
Free Members
sp_UserOfflineSmall Offline
Feb 24, 2012 - 12:15 pm

When I first set up my site, I changed the defaults from wp to tswp. But when I upgraded to v5, the wp tables were added.

Helping you find and share your Secret Sauce with the world.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 24, 2012 - 12:20 pm

when you changed from wp to tswp, how did you do it?  and did you update the wp-config.php file to tell wp to use the new ones?

Avatar
tsilvestre
San Jose, Ca
Member
Free Members
sp_UserOfflineSmall Offline
Feb 24, 2012 - 3:46 pm

When I first installed WordPress, I changed my db prefix, yes. But when I installed SP, I didn't do anything. When I upgraded to v5, I clicked YES when asked if I'd like to move my forum tables to new location to be in compliance (I'm paraphrasing). So ultimately, NO, I didn't change any table prefixes recently. However, it appears that SP has created new tables with a wp prefix, ultimately giving me a second set of tables. frown

Helping you find and share your Secret Sauce with the world.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 24, 2012 - 4:02 pm

sp uses the wp db prefix defined in your wp-config.php file... 

so how, explain the mechanics, did you change your db prefix?  and when you did it, did you change all the tables in your db, not just the wp tables?

Avatar
tsilvestre
San Jose, Ca
Member
Free Members
sp_UserOfflineSmall Offline
Feb 24, 2012 - 8:33 pm

I redefined the prefix in my wp-config file when I was setting up the site. Then I renamed the standard set of tables to match. Every new table (until now) has been created using my special prefix (tswp_).

Helping you find and share your Secret Sauce with the world.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 24, 2012 - 8:49 pm

sorry, just not understanding... when you install sp, it will use the prefix defined in the wp config file...

were you upgrading or installing? if you already had the forum in place, and then changed you prefix and tried and did not change the forum tables too, then you upgraded, it probably said it was a fresh install...

bottom line, sp uses the prefix defined in wp config...

Avatar
tsilvestre
San Jose, Ca
Member
Free Members
sp_UserOfflineSmall Offline
Feb 27, 2012 - 9:59 am

I was upgrading. I did not change my prefix at that time (only when I first set up my website). My old forum tables were created with the custom prefix. But when I upgraded, new tables were created with just a wp prefix. 

Sorry if that's not making sense. I tried to upload a screen shot, but after about a dozen tries, gave up. 

Can I give someone access to take a look-see behind the scenes with me? I could do some screen sharing, if you're avail?

Helping you find and share your Secret Sauce with the world.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 27, 2012 - 10:09 am

Which new tables please?

SP uses whatever is returned by the $wpdb->prefix property which is itself gleaned from the setting in the wp-config.php file. And I can guarantee you we would in no way assume a 'wp_' prefix either.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online: robrtg
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625