Database initialization problems -

Author Message

Justin Jeffrey

Tuesday 21 October 2003 6:42:26 am

I'm having problems with the instal script. I get the following error after adding my database info:

The selected selected user has not got access to any databases. Change user or create a database for the user.

The database definately exists and has been accessible to other scripts.

I think this may be something to do with the scipt looking for any available databases which I think my server (Donhost FreeBSD) doesn't allow.

As a test, I tried to overide the setup.ini and site.ini and ran kernel_schema.sql and cleandata.sql into the databse and tested the site with the instal script turned off (CheckValidity=false) which just resulted in an error.

Kåre Køhler Høvik

Monday 27 October 2003 5:07:09 am

Is denying listing of databases a common problem using shared hosting ?

To fix your problem you need to enter kernel/setup/steps/<ez_database_init.php, ez_site_details.php> and add the databases you wish to use manually to the $availDatabases variabel. (must be array, containing database names as text elements)

Kåre Høvik

ej concept

Wednesday 29 October 2003 11:14:01 am

I attempted to follow your directions...but i'm not sure what you mean.

Quote-
"kernel/setup/steps/<ez_database_init.php, ez_site_details.php> and add the databases you wish to use manually to the $availDatabases variabel. (must be array, containing database names as text elements)"

can you show me what it should look like?

thanks!

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 19 2025 01:18:07
Script start
Timing: Jan 19 2025 01:18:07
Module start 'layout'
Timing: Jan 19 2025 01:18:07
Module start 'content'
Timing: Jan 19 2025 01:18:07
Module end 'content'
Timing: Jan 19 2025 01:18:07
Script end

Main resources:

Total runtime0.5358 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0066 590.3984152.6406
Module start 'layout' 0.00660.0031 743.039139.4766
Module start 'content' 0.00970.5242 782.5156563.2266
Module end 'content' 0.53390.0018 1,345.742212.1406
Script end 0.5357  1,357.8828 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.6670160.0002
Check MTime0.00140.2529160.0001
Mysql Total
Database connection0.00150.273510.0015
Mysqli_queries0.486190.7360590.0082
Looping result0.00060.1134570.0000
Template Total0.502793.820.2514
Template load0.00260.478220.0013
Template processing0.500293.355720.2501
Template load and register function0.00020.035910.0002
states
state_id_array0.00120.222510.0012
state_identifier_array0.00150.273120.0007
Override
Cache load0.00200.3727180.0001
Sytem overhead
Fetch class attribute can translate value0.00080.148830.0003
Fetch class attribute name0.00100.184640.0002
XML
Image XML parsing0.00070.127530.0002
class_abstraction
Instantiating content class attribute0.00000.001640.0000
General
dbfile0.00150.2834150.0001
String conversion0.00000.002440.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs