Docs Menu
Docs Home
/
Atlas
/ /

Connect With SQL Guides

To learn how to build a MongoDB SQL query, see Query with MongoSQL Statements.

On the machine where your SQL Interface ODBC driver is installed, you can find the ODBC Logs in <user>/Documents/Mongodb/Atlas SQL ODBC/<version>/logs/mongo_odbc.

For additional insights into your queries and connections, you can enable the SQL Trace log through the ODBC Administrator.

The SQL Trace log may provide additional information related to issues with your queries and potentially with your connection as well, because on connection a query may be issued to present db namespaces.

Note

After you retrieve the log, be sure to disable SQL Trace, as it is resource intensive.

The JDBC Log file, jprotocolserver.log, is stored in different locations depending on your BI Tool. If you are using Tableau, the JDBC Log file is stored in Documents > My Tableau Repository > Logs. For tools other than Tableau, please search for the jprotocolserver.log.

Tool and user configurations can impact the placement and collection of these logs. The above information is based on default settings.

You can find a list of MongoDB SQL error codes in the MongoDB SQL Error Codes documentation.

Back

Overview

On this page