Skip to Main Content

SQL Developer

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Cancel Connection Opener

Mathias NeunerOct 12 2021

Is the following a known issue?
I want to connect to a database which seems to be offline and i want to cancel the operation in the Connection Opener window after about 15 seconds. But the Connection Opener still counts the time and ends in the regular timeout with an exception message
Screenshot 2021-10-12 160407.png

Comments

Nabot Dash
Answer

Domain name is an important parameter you need to have that handy before proceeding here:

1. Verify the domain name:

show parameters db_domain;

OR

SELECT value FROM v$parameter WHERE UPPER(name) = 'DB_DOMAIN';

2. Change if applicable (Take DBA help)

If the domain name has any characters other than A-Z (letters), 0-9 (numerals), _ (underscore), # (hash), $ (dollar),. (period), or @ (at the rate), for example, a '-' (hyphen), then change the domain name.

alter system set db_domain='<domain_name_with_illegal_char_replaced_with_legal_char>' scope=spfile sid='*';

3. Have the connection string in following format.

    SERVER=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=MyHost)(PORT=MyPort))(CONNECT_DATA=(SERVICE_NAME=MyOracleSID)))

4. Provide the target database name:

    SELECT value FROM v$parameter WHERE UPPER(name) = 'DB_NAME';

Then you can have all these to check your connection.

Please mark Helpful or Correct if this information helped you in any way.

Cheers !

Marked as Answer by Beauty_and_dBest · Sep 27 2020
Beauty_and_dBest

Thaks Noname

I will check that...brb

yoonas

Please see if it helps, i did it longer back when i had to work on FSG transfer

https://yoonusp.blogspot.com/2015/01/transferring-fsg-from-one-instance-to.html

Regards,

Yoonas

1 - 3

Post Details

Added on Oct 12 2021
0 comments
143 views