Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以将您的数据库用户名和密码添加到 tnsnames.ora 文件中的 TNS 条目中,这样您就可以运行 SQL*Plus 而无需记住您的用户名和密码?
不需要关于安全性的讲座。我完全了解风险,这在我使用的环境中不是问题。
不通过 TNS 条目,但是您可以执行具有以下内容的脚本:
connect username/password
IE:
sqlplus /nolog my_connect_script.sql
如果您愿意花更多时间寻找一种“安全”的密码存储方式,您应该研究一下 Oracle Wallet。