cubos/rethinkdb.cr

Cannot authorise connection with user and password

Opened this issue · 0 comments

Hi there,

It appears that we are unable to pass a RethinkDB username and password in the r.connect() function? I keep getting the following error:

ERROR: Incorrect authorization key.
 (RethinkDB::ReqlDriverError)
0x10d6f97c5: *CallStack::new:CallStack at ??
0x10d78e86e: *raise<RethinkDB::ReqlDriverError>:NoReturn at ??
0x10d722e36: main at ??

I've tried the following connection string:

conn = r.connect(host: "myrdbhost.com", user: "myusername", password: "mypassword")