How to change 'Ctrl+Enter' SQL query execution in PhpStorm to a different database? Follow Henk Created June 17, 2019 12:03 I had already associated it with a MariaDB server at localhost. I would now like to switch to a remote server. I've already added it in the Database Tool Window. How do I make SQL in existing files go through the remote MariaDB server?