Connecting SQL Developer 1.5.4 to tnsnames.ora - sql

I am having trouble establishing connections with tnsnames.ora while using SQL Developer 1.5.4. I have looked at other threads on this site and they have told me to go to Tools> Preferences > Database > Advanced > tnsnames directory. However I am missing the option to connect to tns directory and I am getting the option "Advanced Parameters" instead of just "Advanced". Does any body know where to find this option on SQL Developer 1.5.4? Sorry but it won't let me post an image.
I appreciate your help.
Thanks
Niall

I don't think you can. At my work, the DBAs years ago started keeping the current TNSNAMES.ORA on a network share, but we still had to maintain local versions for people using SQL Developer until relatively recently. To be honest, I don't remember which version the option was introduced to select a directory, but I would be quite confident it was later than the version you're on. As JaMaBing says, it's free and you don't need to install it, so why not upgrade anyway?

Related

Mysql workbench - create user with standard password

I have updated mysql workbench to 8.0.12,
And I have a big issue with the user management.
Some application do not support SHA2 authentication and I struggle finding a way to use standard one.
In previous version I could easily create user with different type of authentication (standard / caching_sha2_password).
Some advises will be really appreciated.
Downgrade to previous version would be last option.
[edit]
when creating the user I can select standard mode. But as soon I apply the creation, it automatically switch to caching_sha2_password
[/edit]
Thanks
You need to change the default_authentication_method of the server. You can either manually edit the config file and add the following:
default-authentication-plugin=mysql_native_password
Or you can update the options file through MySQL Workbench by going to Server > Options File >
You will then need to restart the server and recreate your user with the required authentication plugin.
You can read more here.

When SQL Developer is idle I lose my connection

My problem is this: I am running Oracle 10G on windows 98 on a virtual machine using VMWare on my desktop computer. I can connect to several users (SYS, HR, OE, ... ) with SQL Developer (which is on my desktop not on the virtual machine) but if a don't run any SQL statement for a short while, say about 2 minutes, I lose my connection and get an error like connection closed or IO-fault:connection reset by peer.
Could this have anything to do with the sp_reset_connection?
When I open SQL Plus on my virtual machine itself I don't lose the connection at all, even if it has been idle for 30 minutes or longer. So now I'm thinking there could be a problem between the Virtual Machine and my desktop computer. Before this all worked fine.
I tried closing recently installed anti-malware apps without any result.
Anybody has an idea what I could do to fix this problem?
Kind regards,
Veek
I stumbled upon the Keep-ALive Extension and tried it as well but without succes. Standard it is set to a 2 minute interval. I've changed this value to 1 and to 60 minutes but as soon as I stop running statements for a short while I lose my connection. There must be something else. I've already installed the newest SQL Developer version but still it is the same. (I did import the settings from my earlier release maybe I have to try without importing them.)
Any other suggestions perhaps?
Kind regards,
Veek
This extension works for SQL Developer 4:
https://github.com/scristalli/SQL-Developer-4-keepalive
DISCLAIMER: I'm the developer of the extension. I hope the answer is not considered advertising, because this extension is open source (and the previous non-open-source extensions were accepted as an answer).
MinChen Chai has created Keep-Alive Extension exactly for your situation:
https://sites.google.com/site/keepaliveext
It will continually send TCP keep-alive packets and prevent server disconnection by inactivity timeout.
When used with the latest SQL Developer Version 4.0.0.13:
- MinChen's extension (http://sites.google.com/site/keepaliveext) doesn't work.
- The keepconnext extension (http://sites.google.com/site/keepconnext) too doesn't work anymore.
On SQL Developer go to Tools > Preferences > Databases > Instances Viewer. and the option traffic duration change it to the max, this worked for me.
Go to Tools > Monitor Sessions... and select your Connection. Set the refresh value to 60 (seconds).
While monitoring, your connection will not be lost.
Oracle SQL Developer Version 4.1.3.20
As the suggested extensions in this thread have had issues with recent versions of SQL Developer, I tried my way and got scristalli's code to work in a new project based on his code AND the oracle example repo.
Needs a lot of work but oh well, at least I can install the new build on SQLDev v19.2 and it works as expected.
Disclaimer: I'm the owner of the linked repo, although it's MIT as the previous versions. Feel free to fork it, pullrequest-it or do as you like

How to save password in SSIS package configuration using Visual Studio 2005 BIDS?

I know this isn't a "good" thing to do, but its also a temporary measure on several internal servers used by a select few developers. So please forgive me engaging in "very bad things" :)
The crux of the problem can be seen when I open any of my connection managers: the password field is empty. I am using SQL Server Authentication with SS 2005 and VS 2005 BIDS. So, is it even possible to save passwords in an XML package configuration (*.dtsConfig) and maintain them across machines and servers unencrypted?
Thanks for all for the help!
BIDS won't save passwords for you, but you can open the package configuration file and enter them manually:
http://wiki.sqlis.com/default.aspx/SQLISWiki/PackageConfigurations.html

error in setup sql server 2005

what is meaning this error , when I want to install sql server 2005 ?
> TITLE: Microsoft SQL Server Setup
None of the selected features can be installed or upgraded. Setup cannot proceed since no effective change is being made to the machine. To continue, click Back and then select features to install. To exit SQL Server Setup, click Cancel.
The message is pretty self-descriptive. The installation doesn't believe you're making any changes to the machine. Google/MSDN/Microsoft Help is a much better forum for this question than stackoverflow.
It thinks you are upgrading a systme already installed rather than a new instance. Check installed programs to see if there is a previous version; if you are doing a new instance make sure you specify it as you go through the wizard.

Getting login failed for sa when I haven't changed the password

I've been developing a winforms app tied to sql server. I haven't rebooted in a while. Today i rebooted and now I can't log into sql. I used every account I know and their passwords including one that was working just before i rebooted and i get a 'Login failed' . I did take the database I use offline just before starting and I do have backups before then.
thoughts on what happened? Is there a way to bring the database back online OR somehow find out what passwords are? I even tried using windows authenication with me as an admin on the box AND sa (Yes, bad) and still no dice.
:-/ That's a rough place to be ... I wish you luck. Check out this blog post, not sure if you're using sql 2k5 or not, but if so, it may be helpful:
http://blogs.msdn.com/raulga/archive/2007/07/12/disaster-recovery-what-to-do-when-the-sa-account-password-is-lost-in-sql-server-2005.aspx
Have you checked to make sure that the service is actually running? Also are you trying to connect using IPC, TCPIP or named pipes? Whichever way make sure it's enabled in the configuration tools.
Since admin's on the box are SQL admins the only thing I can think of is that the service is not running.