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.
我们已经在 Windows 上为 SQL 服务器数据库设置了 SymmetricDS,它工作正常。但是我们已经在属性文件中硬编码了密码。我的问题是,有没有办法避免硬编码?
您可以加密您的密码。
https://www.symmetricds.org/doc/3.12/html/user-guide.html#_encrypted_passwords
如果将 SQL-Server 设置为对 SymmetricDS 用户使用 Windows 身份验证,则可以将 db.user 和 db.password 属性留空。
Sql Server - 使用 Windows 身份验证连接