|
|
Joined: Apr 2001
Posts: 3,266
Member
|
Member
Joined: Apr 2001
Posts: 3,266 |
Okay I just thought I would post this since I had to go through this lately. I was installing this guys site and he was on a windows server. He transfered to a Unix/Linux site and we have all heard of the specific windows mysql table problem before. Windows causes the Threads tables to be all lowercase and it works fine on Windows. However if you transfer your site the backup database will not be recognized by Threads. Alot of people as a work around have just edited the backup to put the capitols in but on large sites with alot of users and posts this is not time practical. This is a shortcut around the issue. Go ahead and install Threads and upload via telnet or Phpmyadmin your backup database from windows. Then just copy and paste the following SQL commands into phpmyadmin or whatever you use. This will automatically rename the tables to uppercase and then go login to Threads. Your done. Figured I would post it as a reference. RENAME TABLE w3t_addressbook TO w3t_AddressBook; RENAME TABLE w3t_banned TO w3t_Banned; RENAME TABLE w3t_category TO w3t_Category; RENAME TABLE w3t_last TO w3t_Last; RENAME TABLE w3t_moderators TO w3t_Moderators; RENAME TABLE w3t_online TO w3t_Online; RENAME TABLE w3t_posts TO w3t_Posts; RENAME TABLE w3t_ratings TO w3t_Ratings; RENAME TABLE w3t_subscribe TO w3t_Subscribe; RENAME TABLE w3t_users TO w3t_Users; RENAME TABLE w3t_displaynames TO w3t_DisplayNames; RENAME TABLE w3t_favorites TO w3t_Favorites; RENAME TABLE w3t_graemlins TO w3t_Graemlins; RENAME TABLE w3t_groups TO w3t_Groups; RENAME TABLE w3t_messages TO w3t_Messages; RENAME TABLE w3t_modnotify TO w3t_ModNotify; RENAME TABLE w3t_polldata TO w3t_PollData; RENAME TABLE w3t_polls TO w3t_Polls; RENAME TABLE w3t_boards TO w3t_Boards; If you use IIP you can use this rename as well to fix that table RENAME TABLE w3t_iipcache TO w3t_IIPcache;
Last edited by JoshPet; 03/23/2003 6:53 PM.
|
|
|
|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
Good work! Thanks
|
|
|
|
Joined: Apr 2001
Posts: 3,266
Member
|
Member
Joined: Apr 2001
Posts: 3,266 |
I hope it was the right forum to post that. Might save someone a few minutes when switching servers.
|
|
|
|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
Yeah, good place to file it.
|
|
|
|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
This just saved me. Thanks Omegatron. I edited and added this: RENAME TABLE w3t_boards TO w3t_Boards; to the above, which was missing. But it saved the day.
|
|
|
|
Joined: Apr 2001
Posts: 3,266
Member
|
Member
Joined: Apr 2001
Posts: 3,266 |
Cool glad I saved ya a few minutes.
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|