Setup of ez publish - "Database initialization"

Setup of ez publish - "Database initialization"

Tuesday 20 January 2004 1:51:08 pm - 4 replies

Author Message

Kåre Køhler Høvik

Wednesday 21 January 2004 4:12:22 am

Hi

Are you trying to use MySQL o PostgreSQL ?
Is the DB remote or on localhost ?

--
Kåre Høvik

Kåre Høvik

Robert Westhead

Thursday 22 January 2004 6:55:02 am

I have a similar proble when trying to create the initial database.

The DB connection is to another server over a WAN and response time is < 1 second, but the DB user does not have rights to create a database, and needs to use only a single prepared DB. (one site only)

How can a get past this stage of the setup manually?

Balazs Halasy

Thursday 22 January 2004 7:39:12 am

You can't get past it since there is no "skip" button. However, you could hack the setup PHP manually and bypass it. The setup does not do a "create database", it only creates tables and fills these with some values. Please make sure that you create a database manually (as described in the installation manual) and that eZ publish is able to access it. More info here:

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

Balazs

Robert Westhead

Thursday 22 January 2004 8:10:04 am

I think the problem is that the user account has access to two databases - where could I hard-code the database name in the setup PHP?

I'm guessing a little at this stage since the host has custom 500 error pages, so I don't know exactly why the PHP is failing.
Locally I have this working fine. :-/

UPD: Tried changing default DB name in settings/setup.ini - No change, still 500 error.

UPD: Tested connection - the script is connecting to the database ok (if incorrect password entered, the screen returns with 'the server will not accept connection') and tested connection seperately with other script. So with correct username, password and default database, setup still returns a 500 error (which I cannot diagnose on this host). An ideas would be most welcome please.

You must be logged in to post messages in this topic!

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