anonymized user 468275 has asked for the wisdom of the Perl Monks concerning the following question:
The target environment for the migration is Ubuntu 14.04. The latest version of Postgres for this appears to be 9.3. The Perl version it has is 5.18.2.
After apt-get install of Postgres, defaulting to 9.3, PgAdminIII, cpan installation of DBI, DateTime and DBD:Pg, I created the databases with the same names, roles and passwords as the Windows installation, using pgsql. I can log on from pgsql, but neither the postgres user or the roles can log in from DBI, behaving as if the username and password are wrong, but I am sure they are not. I get the same kind of problem from PgAdminIII, so it isn't just Perl but PgAdminIII suffering the same problem. I checked the Postgres configuration files and there is nothing wrong there. It isn't a network problem because all access methods above were local. I checked for having more than one installed version of Postgres, which would explain it, but no, there is only one. So the problem appears to lie under the hood somewhere, not obviously in DBI otherwise pgadmin would work, but I am not sure where to look next. All suggestions are welcome! Thanks!
One world, one people
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Postgres + Perl + Ubuntu
by marto (Cardinal) on Jun 21, 2016 at 08:28 UTC | |
by anonymized user 468275 (Curate) on Jun 21, 2016 at 10:57 UTC | |
by anonymized user 468275 (Curate) on Jun 21, 2016 at 08:55 UTC | |
|
Re: Postgres + Perl + Ubuntu
by anonymized user 468275 (Curate) on Jun 21, 2016 at 11:12 UTC | |
|
Re: Postgres + Perl + Ubuntu
by ikegami (Patriarch) on Jun 21, 2016 at 16:07 UTC | |
|
Re: Postgres + Perl + Ubuntu
by hippo (Archbishop) on Jun 21, 2016 at 10:11 UTC | |
|
Re: Postgres + Perl + Ubuntu
by Mr. Muskrat (Canon) on Jun 21, 2016 at 14:52 UTC | |
|
Re: Postgres + Perl + Ubuntu
by Anonymous Monk on Jun 21, 2016 at 07:42 UTC | |
by anonymized user 468275 (Curate) on Jun 21, 2016 at 07:55 UTC |