PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old February 21st, 2005, 08:22 AM   #1 (permalink)
rbl
Senior Member
Verified Customer
 
Join Date: Aug 2003
Location: Portugal
Posts: 492
Send a message via AIM to rbl Send a message via MSN to rbl
What's the best way to reset an installation?

Hi!
Is there any way to delete all images on Gallery so that the IDs start again at #1 and not mess totally the installation?

On my dev gallery installation I've made quite a few changes I want to keep but I have a gazzilion test posts I want to delete.
Since dealing with smaller post ids is better when you want to go to a particular page, I would like to "reset" and not mass delete.

What tables should I empty beside the images table?

Thanks!
Ricardo
rbl is offline   Reply With Quote
Old February 21st, 2005, 10:17 AM   #2 (permalink)
Brian
Guest
 
Posts: n/a
Re: What's the best way to reset an installation?

Use phpMyAdmin to empty the tables. Then go to the table you're trying to reset, click on the 'Operations' link at the top, then at the bottom of that page you will see the auto_increment field.
  Reply With Quote
Old February 21st, 2005, 10:26 AM   #3 (permalink)
rbl
Senior Member
Verified Customer
 
Join Date: Aug 2003
Location: Portugal
Posts: 492
Send a message via AIM to rbl Send a message via MSN to rbl
Re: What's the best way to reset an installation?

It should be set to zero?
rbl is offline   Reply With Quote
Old February 21st, 2005, 10:47 AM   #4 (permalink)
Brian
Guest
 
Posts: n/a
Re: What's the best way to reset an installation?

Just leave it blank and that should do the trick.
  Reply With Quote
Old February 21st, 2005, 06:57 PM   #5 (permalink)
rbl
Senior Member
Verified Customer
 
Join Date: Aug 2003
Location: Portugal
Posts: 492
Send a message via AIM to rbl Send a message via MSN to rbl
Re: What's the best way to reset an installation?

Thanks Brian! Everything went ok!
rbl is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reset Password PunchAlternative Photopost Pro How Do I...? 3 October 16th, 2005 06:23 PM
Reset Ratings Jamie Durrant How Do I? - vBulletin 3.0.X 11 October 14th, 2005 07:22 PM
Reset the User Registration CEDillard Photopost Pro How Do I...? 1 September 26th, 2005 06:26 PM
Reset all user passwords? Lee Wilde Classifieds Installation & Upgrades 2 May 2nd, 2005 09:16 AM
How do I or Can I reset JoeSixPack Photopost Pro How Do I...? 6 April 24th, 2005 05:22 PM


All times are GMT -5. The time now is 04:38 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0