Creating a database for a new eZ installation

Author Message

stig henning

Friday 12 December 2003 8:22:52 am

I installed ezpublish-3.2-2.tar.gz and found that when I needed to select a database, I had to use one of that already exists.

Why doesn't eZ create a database itself ?

How can I create a database for eZ ?

stig henning

Friday 12 December 2003 8:35:54 am

http://ez.no/developer/ez_publish_3/documentation/installation/normal_installation/installing_ez_publish_on_a_linuxunix_based_system

------------
1. Login as root:

mysql -u <mysql_username> -p <mysql_password>

2. The MySQL client should display a "mysql>" prompt; create a new database:

mysql> create database <database>

3. Grant permissions:

mysql> grant all on <database>.* to <username>@<host> identified by '<password>';

<mysql_username>: The MySQL user (if no user is set up, use "root").
<mysql_password>: The password that belongs to the mysql_username.
<username>: The username that will be used to access the database.
<password>: The password you wish to set in order to limit access to the database.
<database>: The name of the database, for example "my_new_database".
<host>: The hostname of the server on which eZ publish will be running.
(may be 'localhost' if MySQL is installed on the same server).

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 31 2025 06:15:38
Script start
Timing: Jan 31 2025 06:15:38
Module start 'layout'
Timing: Jan 31 2025 06:15:38
Module start 'content'
Timing: Jan 31 2025 06:15:38
Module end 'content'
Timing: Jan 31 2025 06:15:38
Script end

Main resources:

Total runtime0.0217 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 588.3828151.2422
Module start 'layout' 0.00480.0099 739.625036.7109
Module start 'content' 0.01460.0058 776.335990.1094
Module end 'content' 0.02040.0013 866.445329.9922
Script end 0.0217  896.4375 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002210.0786140.0002
Check MTime0.00104.6777140.0001
Mysql Total
Database connection0.00073.184310.0007
Mysqli_queries0.002913.487830.0010
Looping result0.00000.063610.0000
Template Total0.00104.610.0010
Template load0.00083.678110.0008
Template processing0.00020.870110.0002
Override
Cache load0.00062.728910.0006
General
dbfile0.00146.636480.0002
String conversion0.00000.035140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs