how to provide username and password in tnsnames.ora

sandhiya picture sandhiya · Sep 26, 2016 · Viewed 7.6k times · Source

I have connected oracle server database in excel with the help of oracle instant client software and i am getting table and data but whenever i am restarting excel to connect with oracle database it is asking username and password so i want to save the username and password so is this possible to provide username and password in tnsnames.ora file itself?

Answer

mohsen.b picture mohsen.b · Sep 26, 2016

It isn't possible to save username and password in tnsnames.ora file. you should fix it in excel.