UseBB Community

The official board for UseBB help and discussion

UseBB Community » Help & Support » Compacting & Re-Indexing MySQL

Compacting & Re-Indexing MySQL

Moderators: Gaia.

Page: 1

Author Post
Member
Registered: Sep 2005
Posts: 76
Location: New Zealand
I realise that eventually, most routine tasks will be actioned via the ACP but in the meantime most of these tasks are very difficult except for the most expert amongst us.

Our new forum http://radiochickforum.nzcool.com/ has gained 216 members inside one week but several of these were duplicate or unsuccessful registration attempts. I have managed to delete these from the members table but have no idea how to compact the database so that the membership displays the actual number (re-index?).

Would anyone attempt to explain to me how to do this please?
Member
Registered: Sep 2005
Posts: 76
Location: New Zealand
*bump*

Just hoping that someone will be able to suggest a solution (or point me in the right direction) :D
Member
Registered: Mar 2005
Posts: 196
Location: Hungary
Isn't there something like this in phpMyAdmin?
_______________
Long Live Rock n' Roll!
Member
Registered: Sep 2005
Posts: 76
Location: New Zealand
bastya_elvtars:

I get lost in phpMyAdmin and have tried to find a solution myself, that is why I posted my question.

It would have been really helpful had someone posted: "Yes, the solution to your problem is to run this little SQL script [script provided] to re-index and compact your database." Or perhaps, directions to Doc or a menu selection.

Is there anyone who KNOWS the solution please?
Moderator
Registered: Oct 2005
Posts: 445
Location: canada

OPTIMIZE table usebb_members;


That should do it?
Developer
Registered: Apr 2004
Posts: 2215
Location: Belgium
The problem you are having is because you deleted members directly from the DB without updating the stats. See the old docs wiki on how to resync them.

OPTIMIZE does not solve this. You can run this from the ACP too.
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog

Page: 1

UseBB Community » Help & Support » Compacting & Re-Indexing MySQL

UseBB Community is powered by UseBB 1 Forum Software