# Merging 2 discourse forums

**URL:** <https://meta.discourse.org/t/merging-2-discourse-forums/35060>\
**Category:** Support\
**Created:** [October 29, 2015, 2:10pm UTC](https://meta.discourse.org/t/merging-2-discourse-forums/35060 "2015-10-29T14:10:43Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![Walker\_Blackwell](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/walker_blackwell/32/119568_2.png) [@Walker\_Blackwell](https://meta.discourse.org/u/Walker_Blackwell)\
**Post date:** [September 13, 2018, 4:57pm UTC](https://meta.discourse.org/t/merging-2-discourse-forums/35060/14 "2018-09-13T16:57:05Z")

</div>

It works with

`@raw_connection = PG.connect(dbname: local_db[:database], host: 'localhost', user: 'postgres', password: '<put your password here>', port: local_db[:port])`

It’s a hard-bake but at least it goes.

I had to do following to get password set:

```
sudo -u postgres psql postgres
\password postgres
(enter the new password)
\q

```

Now onto new and interesting bugs like unique constraints (instead of copy-over)!

best,  
Walker

---

_[View the full topic](https://meta.discourse.org/t/merging-2-discourse-forums/35060)._
