Version 3.2 Beta 1 - How is it possible to install an empty database?

Author Message

Thomas Nunninger

Monday 25 August 2003 1:43:08 am

Hey,

I just wanted to install the new beta without any package but then there are no tables initialized in the database :(

How is it possible to install an empty database?

Thank you

Thomas

Frode Marton Meling

Monday 25 August 2003 3:30:09 am

A clean database can be created by first running the
kernel\sql\kernel_schema.sql and then kernel\sql\cleandata.sql with mysql.

Something like this:
mysql -u<username> -p<password> [database] < kernel\sql\kernel_schema.sql

mysql -u<username> -p<password> [database] < kernel\sql\cleandata.sql

Frode

Thomas Nunninger

Monday 25 August 2003 5:27:09 am

Hey Frode,

> A clean database can be created by first running the
kernel\sql\kernel_schema.sql and then kernel\sql\cleandata.sql with mysql.

Thanks.

A short note: I found the files in kernel/sql/mysql/. But after executing this sql files there are some missing objects, e.g. in the admin interface in the user-tab (admin user).

Another point: it looks very similar to the package "plain". But I think, it must be possible to initialize a working database just with less created objects, e.g. less users and groups - because I won't need them.

Anybody some other suggestions?

Thomas

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 22:28:58
Script start
Timing: Jan 18 2025 22:28:58
Module start 'layout'
Timing: Jan 18 2025 22:28:58
Module start 'content'
Timing: Jan 18 2025 22:28:58
Module end 'content'
Timing: Jan 18 2025 22:28:58
Script end

Main resources:

Total runtime0.5581 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 588.3984152.6875
Module start 'layout' 0.00580.0030 741.085939.5234
Module start 'content' 0.00890.5482 780.6094505.8984
Module end 'content' 0.55710.0010 1,286.507812.0781
Script end 0.5581  1,298.5859 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.5599160.0002
Check MTime0.00130.2361160.0001
Mysql Total
Database connection0.00080.141410.0008
Mysqli_queries0.514992.2662570.0090
Looping result0.00040.0770550.0000
Template Total0.530595.120.2653
Template load0.00180.314320.0009
Template processing0.528894.745120.2644
Template load and register function0.00010.019210.0001
states
state_id_array0.00080.141410.0008
state_identifier_array0.00080.150520.0004
Override
Cache load0.00150.2646260.0001
Sytem overhead
Fetch class attribute can translate value0.00050.083320.0002
Fetch class attribute name0.00090.168240.0002
XML
Image XML parsing0.00060.107120.0003
class_abstraction
Instantiating content class attribute0.00000.002150.0000
General
dbfile0.00060.1115160.0000
String conversion0.00000.001640.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/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: 15
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs