[Mapbender-users] Cannot Install Mapbender Version 3.0.5
Manns, Marc
Marc.Manns at remscheid.de
Wed Jul 15 00:44:24 PDT 2015
Hi Andreas,
thanks for your reply.
I didn't take any modifications in this installation.
It is a fresh download (I only modified parameters.yml)
In my paramaters.yml
mapbender is my database_user (with CREATEDB privilegues)
that I would like to run the application.
And mapbender305 is the name of my database.
But now i could isolate my problem a little bit.
I switched my database-user to postgres in parameters.yml and
app/console doctrine:database:create
worked fine.
After that i deleted the database and switched back to database-user mapbender.
app/console doctrine:database:create
doesn't work.
But when I create a "dummy-database" named "mapbender" first.
app/console doctrine:database:create
runs successful even as db-user mapbender.
This could be my workaround but it's not that nice.
Marc
-----Ursprüngliche Nachricht-----
Von: mapbender_users-bounces at lists.osgeo.org [mailto:mapbender_users-bounces at lists.osgeo.org] Im Auftrag von Andreas Schmitz
Gesendet: Mittwoch, 15. Juli 2015 08:34
An: Mapbender User List
Betreff: Re: [Mapbender-users] Cannot Install Mapbender Version 3.0.5
Manns, Marc wrote:
Hi Marc,
> i tried to install Mapbender Version 3.0.5 from tarball.
> I edited parameter.yml like this.
>
> #########################
> parameters:
> database_driver: pdo_pgsql
> database_host: localhost
> database_port: 5432
> database_name: mapbender305
> database_path:
> database_user: secretuser
> database_password: thisisecrettoo
> #########################
> But when i try to create the new database per:
> app/console doctrine:database:create
>
> I got the error message:
>
> Could not create database for connection named "mapbender305"
> SQLSTATE[08006] [7] FATAL: Datenbank >mapbender< existiert nicht
did you modify the config.yml as well? It seems Symfony is looking for a connection named 'mapbender305' with a database named 'mapbender', yet the snippet shows the parameters for the 'default' connection with a database of 'mapbender305'.
Best regards, Andreas
More information about the Mapbender_users
mailing list