Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
It doens't "ROUTINELY crash the database". Well it does seem that way for you, but you don't ever seem to follow the directions.

I have upgraded more forums than I can count, including one with over a half million posts.... and I haven't had any trouble with the current altertable. I did with the early beta of it (when 6.2 first came out). I can routinely upgrade forums in 2-3 hours depending on their size... using all sorts of different servers, hosts and platforms.

The big step in the 6.2 altertable is the private messages. Not the posts.

From Upgrading.html
[]
Before upgrading you may want to purge very old private messages via the admin section. This upgrade makes some major changes to the database structure and the step to process private messages can take the longest.
[/]

It warns that large numbers of PMs could take a while and might time out. That's because it has to convert every one of them from user name to user number... and match them all up. It can't be done with a series of queries... it's a series of loops and joins etc... When that process gets run twice it sets the User Id on the PM to 0 - check the table - all the PMs are there - you just ended up running it through that process twice. And unfortunately once they are all assigned to user "0", there's not really an easy way to reassign them..without going back to a backup of that table. I'd restore the database to second database - run the altertable on that - the extract the Messages table to the live database. Then you don't need to step backwards with posts etc.... and can just deal with what's most likely broken.

I'm thinking your *real* trouble came when you ran two altertables simultaniously because you were impatient.
So in that case - you are correct. Infopop does not warn you that running 2 altertables at the same time can mung up your database. But they do say to run them in order.

I understand you expected a warning - but in all the altertables that there have been, I think only 2 of them were broken into steps - and even those do the first step the minute you start it. The rest just go right through it.

From the upgrading.html file... at the very top:
[]
Upgrade instructions are listed in reverse order. So if you keep up with each upgrade, your upgrade instructions will be right at the top. (NOTE: If you have to run an altertable, make sure you only click on it one time and do not hit the stop button during this time. Some altertables will take awhile to finish.

If you can it is always a good idea to back up your SQL database. You can use something like phpMyAdmin for this or from a telnet prompt... blah blah blah

WARNING: When running some of the altertable scripts your browser may end up timing out. Do not reload/refresh the page. Mysql will still be working and it will continue as normal when it's done.
[/]

But in your first post above you said:
[]
So I tried a logical thing: hit the reload button.[/]

For the vast majority of folks - when the directions say "do not" then it's really not the "logical thing".

For your next upgrade, I'd backup the database - read the directions. If you are among the first to upgrade, I'd even head on over to infopop.com and see if anyone's having any issues or troubles. That'll give you a heads up if there's anything you need to be aware of. Then take your time and do the steps in order. It shouldn't take you that much time and should be relatively painless.

Sponsored Links
Entire Thread
Subject Posted By Posted
Altertable problems 6.1 beta to 6.3. Did I screw up the database????? mario2 06/18/2003 9:02 PM
here is my mysql error file mario2 06/18/2003 9:25 PM
Re: Altertable problems 6.1 beta to 6.3. Did I screw up the database????? JoshPet 06/18/2003 9:26 PM
Re: Altertable problems 6.1 beta to 6.3. Did I screw up the database????? Astaran 06/18/2003 9:29 PM
ok, so how do I recover the private messages/ mario2 06/19/2003 1:21 AM
Re: ok, so how do I recover the private messages/ JoshPet 06/19/2003 5:03 AM
Re: ok, so how do I recover the private messages? mario2 06/19/2003 11:02 AM
Re: ok, so how do I recover the private messages? JoshPet 06/19/2003 4:44 PM
This bug has been known for months, and infopop still does not fix it??? mario2 06/20/2003 12:09 AM
Re: This bug has been known for months, and infopop still does not fix it?? slayer60 06/20/2003 5:04 AM
Re: This bug has been known for months, and infopop still does not fix it?? mario2 06/20/2003 10:44 AM
Re: This bug has been known for months, and infopop still does not fix it?? JoshPet 06/20/2003 11:25 AM
Re: This bug has been known for months, and infopop still does not fix it?? AllenAyres 06/20/2003 3:00 PM
Please make altertable routines "timeout proof" mario2 06/20/2003 9:15 PM
Re: Please make altertable routines "timeout proof" JoshPet 06/20/2003 9:37 PM
Re: Please make altertable routines "timeout proof" navaho 06/20/2003 11:24 PM
these statements are patently wrong!! Instructions are faulty!! mario2 06/21/2003 3:22 AM
Re: these statements are patently wrong!! Instructions are faulty!! JoshPet 06/21/2003 5:05 AM
Please explain where my logic is wrong? mario2 06/21/2003 6:00 AM
Re: Please explain where my logic is wrong? JoshPet 06/21/2003 6:30 AM
Re: Please explain where my logic is wrong? navaho 06/21/2003 6:55 AM
Re: these statements are patently wrong!! Instructions are faulty!! AllenAyres 06/21/2003 8:40 AM
Re: these statements are patently wrong!! Instructions are faulty!! slayer60 06/21/2003 7:34 PM
Re: these statements are patently wrong!! Instructions are faulty!! AllenAyres 06/21/2003 8:06 PM
Re: these statements are patently wrong!! Instructions are faulty!! JoshPet 06/21/2003 9:07 PM
how can I delete the unwanted PM now? mario2 06/23/2003 6:15 PM
Re: how can I delete the unwanted PM now? JoshPet 06/23/2003 8:18 PM
Re: how can I delete the unwanted PM now? slayer60 06/23/2003 8:33 PM

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,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 20240506)