AI Reports

Guides › Database reference › URLs and configuration

Magento 2 core_config_data table

Every setting changed under Stores › Configuration, per scope.

Key columns

ColumnWhat it means
scopedefault, websites or stores.
scope_id0 for default, otherwise the website ID or store view ID.
pathThe setting's path, such as web/secure/base_url or general/locale/timezone.
valueThe saved value. Some are encrypted.
updated_atWhen it was last changed.

Good to know

Example: One setting across all scopes

Works on Magento Open Source and Adobe Commerce.

SELECT scope, scope_id, path, value, updated_at
FROM core_config_data
WHERE path = 'web/secure/base_url'
ORDER BY scope, scope_id;

Tested on Magento Open Source and Adobe Commerce 2.4.8. Read-only. If your tables have a prefix, add it to each table name.

This table has the same 6 columns on Magento Open Source and Adobe Commerce.

All 6 columns (Magento Open Source)

Show all columns
ColumnTypeCan be emptyMagento's description
config_idint(10) unsignedConfig ID
scopevarchar(8)Config Scope
scope_idint(11)Config Scope ID
pathvarchar(255)Config Path
valuetextyesConfig Value
updated_attimestampUpdated At

Related tables

Gaurav Harsh

Gaurav Harsh is a Magento developer who works on large Adobe Commerce stores and builds AI Reports, a Magento extension for asking your store's data questions in plain English. LinkedIn