We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
Sometimes you want to find out information about your Repo configuration.
You can dive into the config
files and ENV variables to sort out what's being used… or you can take the easier path!
In an iex
session (that has your Repo available), access the configuration via
Repo.config/0
!
$ iex -S mix phx.server
iex> MyApp.Repo.config()
[
telemetry_prefix: [:pento, :repo],
otp_app: :pento,
timeout: 15000,
username: "postgres",
password: "postgres",
hostname: "localhost",
database: "example_dev",
stacktrace: true,
show_sensitive_data_on_connection_error: true,
pool_size: 10
]
If this post was enjoyable or useful for you, please share it! If you have comments, questions, or feedback, you can email my personal email. To get new posts, subscribe use the RSS feed.