Q

Resetting default host string

I'm working with 9i installed on my workstation, and for some time I could sign on without a host string. I recently added a second database for testing and if I left the host string blank, it went to the new database. Now that I have deleted the second database, I need to type in the host string to connect to my original database. Is there a way to reset this default string?
You'll want to fire up your workstation's registry editor (regedit). Then navigate to HKEY_LOCAL_MACHINESoftwareOracleHOME0. Make sure that the ORACLE_SID registry key is set to the old instance name.
This was last published in January 2004

Dig Deeper on Oracle database design and architecture

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide

SearchDataCenter

SearchContentManagement

SearchFinancialApplications

Close