You can install the Terminal plugin and then use Terminal right in Database Plugin.

To install a plugin, open Settings &shortcut:ShowSettings; and navigate to Plugins. Type Terminal in the search field and press &shortcut:ShowSettings;.

Install the Terminal plugin