I've played some with the SQL bundle but i wonder how to auto-select a db/config per project. I've got multiple configurations in my config for the MySQL bundle But i need to click the config-item that i want to use and if i switch project i need to click the other configuration first before i can select a query and run it. I've tried MYSQL_DB in my project property but that didn't work out...
Regards J.
On 29. Jul 2007, at 14:26, Jasper van der Meulen wrote:
I've played some with the SQL bundle but i wonder how to auto- select a db/config per project. I've got multiple configurations in my config for the MySQL bundle But i need to click the config-item that i want to use and if i switch project i need to click the other configuration first before i can select a query and run it. I've tried MYSQL_DB in my project property but that didn't work out...
Currently there is no solution for this (other than manually switching), but it is definitely the intent to provide SQL/bundle preferences per project/folder.
On 29 Jul 2007, at 13:26, Jasper van der Meulen wrote:
i wonder how to auto-select a db/config per project.
Hi,
I actually checked in this functionality on Wednesday but forgot to let you know, sorry about that. You can set TM_SQL_CONNECTION to the title of a connection to force that to be used.
To get this functionality you'll either need to wait for the update, or check the SQL bundle out from the repository. I'd recommend using the method described here [1] so you don't need to worry about it in the future.