Print Thread
How To Keep DB Connection To the Other Sql Editors,Command Editors, etc...
#52360 10/27/15 03:15 PM
Joined: Mar 2009
Posts: 15
FL, USA
rayma1 Offline OP
Member
OP Offline
Member
Joined: Mar 2009
Posts: 15
FL, USA
Hi Marco,

Greetings!

Hope you could help me out. The scenario is this.

I have multiple SQL editors opened (Sample below).

SQL Editor 1 => connected to DB1
SQL Editor 2 => connected to DB2
SQL Editor 3 => connected to DB3
.
.
.
SQL Editor ? => connected to DB?

Whenever I change DB connection, it changes also the other editors that are not currently active in my screen.

I tried playing around with the :

TOOLS => PREFERENCES => CONNECTION
=> PIN WINDOW CONNECTION BY DEFAULT (ON/OFF)

but with no luck.
How can I achieve this?

Regards,
rayma1

Re: How To Keep DB Connection To the Other Sql Editors,Command Editors, etc...
rayma1 #52364 10/28/15 06:13 AM
Joined: Feb 2003
Posts: 392
The Netherlands
Member
Offline
Member
Joined: Feb 2003
Posts: 392
The Netherlands
Have you 'pinned' the connections? Check the little icon in the statusbar of the window.

Re: How To Keep DB Connection To the Other Sql Editors,Command Editors, etc...
rayma1 #52400 11/05/15 04:41 PM
Joined: Sep 2009
Posts: 197
Krakow, Poland
Member
Offline
Member
Joined: Sep 2009
Posts: 197
Krakow, Poland
The "Pin window connection by default" only affects newly open windows, so if you did play with it after opening the windows, then it had no effect on them. The only way you can change the window behavior in that aspect, after it was open, is to manually pin (or unpin) that window.
If you'll check the option "Pin window connection by default", then your new windows will start as pinned, so they will not change their connection when you switch the main connection.

At least that's how it's documented and how works for me. Maybe you are doing something different, as you wrote that you "change DB connection" and not "change main DB connection". Each of those windows' connections is a DB connection, so from what you wrote I can't be sure which connection (and how) you are changing, so can't say why it changes connections of all the windows.

Last edited by Hilarion; 11/05/15 04:42 PM.

Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.024s Queries: 14 (0.007s) Memory: 2.5070 MB (Peak: 3.0431 MB) Data Comp: Off Server Time: 2024-05-19 17:12:31 UTC
Valid HTML 5 and Valid CSS