# Problem PG::ConnectionBad when merging two forums despite several previous successes

**URL:** <https://meta.discourse.org/t/problem-pg-connectionbad-when-merging-two-forums-despite-several-previous-successes/235173>\
**Category:** Self-hosting\
**Created:** [August 4, 2022, 10:03pm UTC](https://meta.discourse.org/t/problem-pg-connectionbad-when-merging-two-forums-despite-several-previous-successes/235173 "2022-08-04T22:03:18Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![McFly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcfly/32/257919_2.png) [@McFly](https://meta.discourse.org/u/McFly)\
**Post date:** [August 5, 2022, 9:51pm UTC](https://meta.discourse.org/t/problem-pg-connectionbad-when-merging-two-forums-despite-several-previous-successes/235173/4 "2022-08-05T21:51:58Z")

</div>

> [@cocococosti](#):
>
> `@raw_connection = PG.connect(dbname: local_db[:database], host: 'localhost', port: 5432, user: 'postgres', password: db_password)`

Thnaks thanks thanks

I tryed with port = `5432` but not port = 5432

by dint of having our head in the handlebars we miss things

thanks again

---

_[View the full topic](https://meta.discourse.org/t/problem-pg-connectionbad-when-merging-two-forums-despite-several-previous-successes/235173)._
