Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
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.
Sponsored Links
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
Offline
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.

Sponsored Links
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Cool glad I saved ya a few minutes.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)