Previous Thread
Next Thread
Print Thread
Rate Thread
#281877 11/10/2004 4:42 AM
Joined: Mar 2002
Posts: 193
Member
Member
Offline
Joined: Mar 2002
Posts: 193
Can someone help me with moving the Threads forum to a new database?

What I've done so far:
1. Backed up the board in the CP and downloaded the files (.sql). Step COMPLETED.
2. Uploaded the files to the new server. Step COMPLETED.
3. Tried to use PHPMyAdmin to access these files and restore the tables. "Location of the textfile:" seems to point to my desktop instead of the folder where I've already uploaded the files. Step FAILED.

A) How can I go about restoring the tables using PHPMyAdmin? Or rather is it at all POSSIBLE to do so in my case:

Next to ""Location of the textfile:" I see the following: (Max: 51,200KB). Is this an absolutely unchangeable variable (even under threat of military intervention), regardless of whether I'm pointing to a '.sql' file on my desktop or one already on the new server? If it is, then w3t_Posts.sql won't go through as it occupies 215MB, so does that mean that it is impossible for me to import the tables using PHPMyAdmin?

P.S. I read somewhere that the $cfg['UploadDir'] string can be useful but have no clue as to whether it'll override the 51,200KB limit (seems like it: "This feature is useful when your file is too big to be uploaded via HTTP"). Also, how do I set up this feature? Can someone guide me through this? (I have a dedicated server so have full access to WHM/CP/etc.)

Sponsored Links
Joined: May 2001
Posts: 550
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 550

Joined: May 2001
Posts: 550
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 550

Joined: Mar 2002
Posts: 193
Member
Member
Offline
Joined: Mar 2002
Posts: 193
Thanks Dudes, I used the first program in the Trouble importing LARGE MySQL database dumps (timeouts) thread and everything seems to have gone through just fine.

I did notice in PhpMyAdmin that in the two accounts (old server and new) there were slight discrepancies (really tiny ones) in certain tables with regards to size (like 0.1 MB on a 200MB file - posts) but yet at the same time the # of 'records' remained at an identical number.

Could this be a problem, maybe in the future perhaps, or is it natural/ok for something like that to happen? Board seems to work fine after the move.

Also, would you guys recommend backing up the database using one of the programs mentioned in that thread instead of the original backup feature in Threads' CP, especially if any future restore would also be made using that program?

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
No - the size will change - usually the new one will be smaller - as it reclaims space which is lost when rows are deleted. (When mysql deletes rows, it does not reclaim the space until you optimize, or reimport the database).

The backup feature in threads works just fine - and you can restore it with anything - including those "bigdump" programs.

Sponsored Links
Joined: Mar 2002
Posts: 193
Member
Member
Offline
Joined: Mar 2002
Posts: 193
Thanks Josh, you're a star! That 32kb php import file worked just as it should, nice and simple: easy setup, quick import, zero problems whatsoever.


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
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
Forum Statistics
Forums63
Topics37,575
Posts293,931
Members13,824
Most Online6,139
Sep 21st, 2024
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,834
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 1
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)