php forum
php mysql forum
php mysql smarty
 
Topic Options
#237670 - 02/22/03 10:25 AM Windows to Unix/Linux site Transfer Problem!
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
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. <br /> <br />RENAME TABLE w3t_addressbook TO w3t_AddressBook; <br /> <br />RENAME TABLE w3t_banned TO w3t_Banned; <br /> <br />RENAME TABLE w3t_category TO w3t_Category; <br /> <br />RENAME TABLE w3t_last TO w3t_Last; <br /> <br />RENAME TABLE w3t_moderators TO w3t_Moderators; <br /> <br />RENAME TABLE w3t_online TO w3t_Online; <br /> <br />RENAME TABLE w3t_posts TO w3t_Posts; <br /> <br />RENAME TABLE w3t_ratings TO w3t_Ratings; <br /> <br />RENAME TABLE w3t_subscribe TO w3t_Subscribe; <br /> <br />RENAME TABLE w3t_users TO w3t_Users; <br /> <br />RENAME TABLE w3t_displaynames TO w3t_DisplayNames; <br /> <br />RENAME TABLE w3t_favorites TO w3t_Favorites; <br /> <br />RENAME TABLE w3t_graemlins TO w3t_Graemlins; <br /> <br />RENAME TABLE w3t_groups TO w3t_Groups; <br /> <br />RENAME TABLE w3t_messages TO w3t_Messages; <br /> <br />RENAME TABLE w3t_modnotify TO w3t_ModNotify; <br /> <br />RENAME TABLE w3t_polldata TO w3t_PollData; <br /> <br />RENAME TABLE w3t_polls TO w3t_Polls; <br /> <br />RENAME TABLE w3t_boards TO w3t_Boards; <br /> <br /> <br />If you use IIP you can use this rename as well to fix that table <br /> <br />RENAME TABLE w3t_iipcache TO w3t_IIPcache; <br /> <br />


Edited by JoshPet (03/23/03 05:53 PM)
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#237671 - 02/22/03 01:53 PM Re: Windows to Unix/Linux site Transfer Problem! [Re: sf49rminer]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Good work! Thanks <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#237672 - 02/22/03 05:49 PM Re: Windows to Unix/Linux site Transfer Problem! [Re: Daine]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
I hope it was the right forum to post that. Might save someone a few minutes when switching servers.
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#237673 - 02/22/03 06:01 PM Re: Windows to Unix/Linux site Transfer Problem! [Re: sf49rminer]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Yeah, good place to file it. <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#237674 - 03/23/03 05:53 PM Re: Windows to Unix/Linux site Transfer Problem! [Re: sf49rminer]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
This just saved me. <img src="/forum/images/graemlins/smile.gif" alt="" /> Thanks Omegatron. <img src="/forum/images/graemlins/tongue.gif" alt="" /><br /><br />I edited and added this:<br /><br />RENAME TABLE w3t_boards TO w3t_Boards;<br /><br />to the above, which was missing. But it saved the day. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#237675 - 03/24/03 04:28 PM Re: Windows to Unix/Linux site Transfer Problem! [Re: Daine]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Cool glad I saved ya a few minutes.
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top


Who's Online
0 registered (), 26 Guests and 15 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Forum 'Trader Ratings'.
by blaaskaak
Yesterday at 08:27 AM
Problems reading a lot of old posts here
by Ruben Rocha
11/18/08 04:33 PM
PhotoPost BB Code Popup
by Iann128
11/15/08 01:24 PM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
Active Topics.
by AllenAyres
11/11/08 02:13 PM
Looking for a simple upload script
by AllenAyres
11/11/08 02:12 PM
New Mods
Forum 'Trader Ratings'.
by McLemore
11/19/08 02:14 PM
[7.4] Keep log of custom title changes
by blaaskaak
10/27/08 07:51 AM
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Newest Members
Begbie, cenk, MATTO, DougMMcts, tim Anderson
13361 Registered Users
Top Posters
AllenAyres 25448
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks