There are following below command to enable Query Logs
php bin/magento dev:query-log:enable
php bin/magento cache:flush
After running above CLI Command, you should be able to see the log file at var/debug/db.log
There are following below command to enable Query Logs
php bin/magento dev:query-log:enable
php bin/magento cache:flush
After running above CLI Command, you should be able to see the log file at var/debug/db.log