Re: Problème migration Sqlite à postgresql

From: Cédric Villemain <cedric(dot)villemain(at)dalibo(dot)com>
To: pgsql-fr-generale(at)postgresql(dot)org
Cc: "=?iso-8859-1?q?KO=CFTA?=, Tariba ariane" <taribaariane(dot)koita(at)sfr(dot)com>
Subject: Re: Problème migration Sqlite à postgresql
Date: 2009-08-20 14:48:12
Message-ID: 200908201648.21326.cedric.villemain@dalibo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-fr-generale

Le jeudi 20 août 2009, KOÏTA, Tariba ariane a écrit :
> Bonjour,
>
> Lorsque j'essaie d'exécuter le script que voici : . /sqlite2pg -e
> /var/trac/monprojet -p postgres://user:pass(at)localhost/db?schema=myschema'
>
> J'ai l'erreur suivante :
>
> Psql : could not connect to server : Aucun fichier ou dossier de ce type
>
> Is the server running locally and accepting
>
> Connections on Unix domain socket /var/run/postgresql/.s.PGSQL.0
>
> Je ne retrouve pas non plus le fichier .s.PGSQL.0 dont il parle. Jai
> plutôt .s.PGSQL.5432 et .s.PGSQL.5432.lock dans mon postgresql.
>
> Quelqu'un pourrait m'aider ?

il doit y avoir une option 'port' a ajouter
postgres://user:pass(at)localhost:5432/db?schema=myschema

peut-etre que cette uri fonctionnera mieux.

>
> Merci d'avance

--
----
Cédric Villemain
Administrateur de Base de Données
Cel: +33 (0)6 74 15 56 53
http://dalibo.com - http://dalibo.org

In response to

Browse pgsql-fr-generale by date

  From Date Subject
Next Message Stephane Bortzmeyer 2009-08-25 08:46:59 Re: Deux tablespaces ?
Previous Message KOÏTA 2009-08-20 08:48:13 Problème migration Sqlite à postgresql