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.