Re: MySQL --> PostgreSQL with PHP

Поиск
Список
Период
Сортировка
От Helgi Örn Helgason
Тема Re: MySQL --> PostgreSQL with PHP
Дата
Msg-id AANLkTimbtBtTkiqQLXjVh76oer6Y1DghLu0Ab=HbhUT=@mail.gmail.com
обсуждение исходный текст
Ответ на Re: MySQL --> PostgreSQL with PHP  (Mark Kelly <pgsql@wastedtimes.net>)
Список pgsql-novice
Thank's for your reply Mark, everything looks very good and I will
take a look at the links.

On 9 October 2010 00:47, Mark Kelly <pgsql@wastedtimes.net> wrote:
[snip]

> //============ START CODE ===================
> // Connect to the PostgreSQL server
> // Build a string to specify the connection parameters, NOT pass them as args.
> $connectionString = "host=$hostName dbname=$databaseName ".
>        "user=$username password=$password";
> if (!$connection = pg_connect($connectionString)) {
>        die("Cannot connect: ".pg_last_error());
> }
>
My problem this time is that the lines above consistently gives me
"Cannot connect:" and nothing else. I am quite sure I've managed to
exclude everything else from causing any errors. Could there be some
knot in these lines?

В списке pgsql-novice по дате отправления:

Предыдущее
От: e-letter
Дата:
Сообщение: permissions failure to copy csv data
Следующее
От: Helgi Örn Helgason
Дата:
Сообщение: Re: MySQL --> PostgreSQL with PHP