Creating a Read-only Instance #248
Answered
by
jraymakers
Roosteridk
asked this question in
Q&A
-
Is there a way to open a read-only connection to a database similar to the Python client? |
Beta Was this translation helpful? Give feedback.
Answered by
jraymakers
Jun 28, 2025
Replies: 1 comment
-
Yes, you can use the configuration option See https://duckdb.org/docs/stable/configuration/overview.html#global-configuration-options Example:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jraymakers
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, you can use the configuration option
access_mode
, set toREAD_ONLY
.See https://duckdb.org/docs/stable/configuration/overview.html#global-configuration-options
Example: