Skip to main content

Database Query Tool

This page allows administrators to directly query REDCap's MySQL/MariaDB database. You may enter an SQL query into the text box below to execute it. Since only read-only queries are supported (i.e., show, select, explain), this tool is not able to modify database tables in any way. You may also save custom queries on the left via a popup dialog. Saving a custom query allows you to easily run the query at any time by simply clicking a link on this page's left-hand menu.

NOTICE: This tool is currently DISABLED and cannot be used until someone with special privileges enables it. Because the page allows you to view data directly from the back-end MySQL/MariaDB database, this tool can only be enabled by someone with direct database access, in which they must execute the query below in the MySQL/MariaDB database where the REDCap tables are stored. Once the query has been run, reload this page.

UPDATE redcap_config SET value = '1' WHERE field_name = 'database_query_tool_enabled';

Notifications

System Notifications
General Notifications

Conversations

Create new conversation