Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

Add Snowflake JDBC error troubleshooting section (#62929)

Robert Kosara925cfb5a640f
diff --git a/docs/troubleshooting-guide/db-connection.md b/docs/troubleshooting-guide/db-connection.md
index 888a0f8e03b..a3b9910dd48 100644
--- a/docs/troubleshooting-guide/db-connection.md
+++ b/docs/troubleshooting-guide/db-connection.md
@@ -106,6 +106,16 @@ psql -h HOSTNAME -p PORT -d DATABASENAME -U DATABASEUSER
SELECT 1
```
+## Snowflake error when running via JAR file
+
+If you're connecting to Snowflake and encounter an error like, `JDBC driver internal error: exception creating result` and are running from the JAR file, add the following option to your java command:
+
+```
+java --add-opens java.base/java.nio=ALL-UNNAMED -jar metabase.jar
+```
+
+See [the documentation on running the Metabase jar file](https://www.metabase.com/docs/latest/installation-and-operation/running-the-metabase-jar-file) for more details.
+
## Related problems
- [My connection or query is timing out](./timeout.md).