Re: MySQL --> PostgreSQL with PHP

Поиск
Список
Период
Сортировка
От Helgi Örn Helgason
Тема Re: MySQL --> PostgreSQL with PHP
Дата
Msg-id AANLkTikT4Lnh5Tyb+Z4-0dE4MXPhykFpJ1WayrBaO_7r@mail.gmail.com
обсуждение исходный текст
Ответ на Re: MySQL --> PostgreSQL with PHP  (Mark Kelly <pgsql@wastedtimes.net>)
Ответы Re: MySQL --> PostgreSQL with PHP
Список pgsql-novice
On 9 October 2010 00:47, Mark Kelly <pgsql@wastedtimes.net> wrote:
>
> //============ 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());
>

I forgot, this is my connection file:

<?php
$connstr = "host=localhost port=5432 dbname=database user=me password=yes";
$dbh = pg_connect($connstr);
if      ($dbh)
{
echo "";
}
else
{
echo "No connection has been established<br>";
}
?>

Could there be a conflict between these two?

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

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