All Database Tables Deleted

Author Message

Valerie Lynn

Wednesday 25 August 2004 1:49:15 pm

You know it's a BAD day when you are - reinstalling EZPublish using the wizard and you get to the part where you can choose delete all data from your database...and well, you do.

The problem is, my "database" was comprised of several different tables, 1 set for one application, another set for a second application and the newly created ez publish tables for - you guesed it - the EZPublish Application - all separated by the first two characters of the table names.

Word to the wise - ALL tables were deleted - not just tables associated with EZPublish.

Val
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
Is it dinnertime yet?

Bård Farstad

Wednesday 25 August 2004 1:57:18 pm

Ouch!

We should make eZ publish only delete the tables prefixed with ez.

I hope you had backup.

--bård

Documentation: http://ez.no/doc

Trond Åge Kvalø

Thursday 26 August 2004 6:51:29 am

Actually it would be best if eZpublish only deleted the tables it created at setup.

What if someone has their own tables that start with ez?

Maybe the prefix should be something more distinct?

just a few thoughts....

best regards
trondåge

trondåge

Bruce Alspaugh

Friday 27 August 2004 9:13:55 am

I'm suprised that in the install wizard you are not given the option to specify what the table prefix should be. A lot of hosting providers only allow you to have one database so you have to share it with multiple applications. If you can specify your own prefix, EZPublish can more easily play nice nicely with other applications. When it comes time to delete tables, you can tell it to delete only those with a certain prefix.

Trond Åge Kvalø

Tuesday 14 September 2004 6:54:24 am

You'd think that one should be able to learn from other peoples mistakes, but naahhh....

Now our tables are gone too :-/

We do of course have backup, but still, it's quite a nuisance to restore everything.

So does the eZ crew have an ETA for the excellent feature that Bruce described in the post above?

best regards

trondåge

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 11:45:26
Script start
Timing: Jan 18 2025 11:45:26
Module start 'layout'
Timing: Jan 18 2025 11:45:26
Module start 'content'
Timing: Jan 18 2025 11:45:27
Module end 'content'
Timing: Jan 18 2025 11:45:27
Script end

Main resources:

Total runtime0.8813 sec
Peak memory usage4,096.0000 KB
Database Queries71

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 589.1484152.6406
Module start 'layout' 0.00550.0042 741.789139.4766
Module start 'content' 0.00970.8700 781.2656982.3516
Module end 'content' 0.87970.0015 1,763.617212.1484
Script end 0.8812  1,775.7656 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00430.4851170.0003
Check MTime0.00190.2187170.0001
Mysql Total
Database connection0.00090.098210.0009
Mysqli_queries0.785789.1574710.0111
Looping result0.00080.0888680.0000
Template Total0.847596.220.4237
Template load0.00280.318720.0014
Template processing0.844695.845420.4223
Template load and register function0.00010.015910.0001
states
state_id_array0.00090.103610.0009
state_identifier_array0.00100.117220.0005
Override
Cache load0.00230.2635280.0001
Sytem overhead
Fetch class attribute can translate value0.00080.091340.0002
Fetch class attribute name0.00170.187570.0002
XML
Image XML parsing0.00340.385040.0008
class_abstraction
Instantiating content class attribute0.00000.002090.0000
General
dbfile0.00300.3370290.0001
String conversion0.00000.000840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs