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

   Windows to Unix/Linux site Transfer Problem! to Del.icio.us Add to del.icio.us
  Digg Windows to Unix/Linux site Transfer Problem! Digg it
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
1 Registered (Gizmo), 26 Guests and 11 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Team UBBDev Rides Again!
by AllenAyres
10/13/08 01:36 PM
Blogs, love em or hate em?
by AllenAyres
10/07/08 02:05 PM
What do you use to edit the files
by Ian_W
10/05/08 03:33 PM
BeyondCompare v3.00
by Ian_W
10/05/08 03:32 PM
Glossy Black Theme with Image Reflection
by Gizmo
10/05/08 02:17 PM
ShareThis
by Gizmo
09/28/08 05:06 AM
[7.3] Viewing MySQL logfiles made easier
by AllenAyres
09/27/08 09:57 PM
New Mods
[7.3] Viewing MySQL logfiles made easier
by blaaskaak
09/24/08 05:39 PM
[7.3.1] add search to showmembers page
by blaaskaak
09/07/08 04:50 AM
Newest Members
Kevs, pisa666, ghengis317, NitroX, Dogan
13346 Registered Users
Top Posters Last 30 Days
AllenAyres 11
blaaskaak 6
Ian_W 4
tackaberry 4
Chris Bale 4
Gizmo 4
FREAK1 4

 

 

 
fusionbb message board php hacks