Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connect to database "materialize" #1760

Closed
sploiselle opened this issue Jan 30, 2020 · 4 comments
Closed

Connect to database "materialize" #1760

sploiselle opened this issue Jan 30, 2020 · 4 comments
Assignees
Labels
A-docs Area: documentation C-bug Category: something is broken

Comments

@sploiselle
Copy link
Contributor

@frankmcsherry noticed that with the advent of database namespaces, you now need to specify which database you want to use! psql defaults to your username, which is unlikely to be accurate w/r/t Materialize, so we should evangelize using psql -d materialize

@sploiselle sploiselle added C-bug Category: something is broken A-docs Area: documentation labels Jan 30, 2020
@sploiselle sploiselle self-assigned this Jan 30, 2020
@sploiselle
Copy link
Contributor Author

sploiselle commented Jan 30, 2020

psql postgres://localhost:6875/materialize
psql -h localhost -p 6875 materialize
psql -h localhost -p 6875 -d materialize
psql host=localhost,port=6875,dbname=materialize

@rjnn
Copy link
Contributor

rjnn commented Jan 30, 2020

We can also send a warning message on connection that says WARNING, NO DATABASE IS SPECIFIED, YOU SHOULD RUN 'SET DATABASE = MATERIALIZE'

@benesch
Copy link
Member

benesch commented Feb 3, 2020

We can also send a warning message on connection that says WARNING, NO DATABASE IS SPECIFIED, YOU SHOULD RUN 'SET DATABASE = MATERIALIZE'

This was done in #1780.

@sploiselle
Copy link
Contributor Author

Closed by #1827

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-docs Area: documentation C-bug Category: something is broken
Projects
None yet
Development

No branches or pull requests

3 participants