pfaffman
(Jay Pfaffman)
1
Continuing the discussion from Importers for large forums:
I’m sure I’m doing something silly, but I’m trying to run the vbulletin bulk importer and for some reason it can’t find the postgres database.
/home/pfaffman/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/pg-0.20.0/lib/pg.rb:56:in `initialize': fe_sendauth: no password supplied (PG::ConnectionBad)
It looks like it should get it here:
I ran a standard importer and it didn’t have any trouble.
What am I missing?
Edit: I’m not the only one: https://meta.discourse.org/t/fe-sendauth-no-password-supplied-in-bulk-importer/76276?u=pfaffman
Did you ever figure this out?
pfaffman
(Jay Pfaffman)
3
No. But I’ve not tried again.
techAPJ
(Arpit Jalan)
4
Changing
to
@raw_connection = PG.connect(dbname: db[:database], host: db[:host_names]&.first, port: db[:port], password: "discourse")
(where discourse is the password for discourse_development database)
should fix this issue. I think this issue is specific to Linux and works fine on macOS.
3 לייקים