Skip Navigation LinksHome Page > Forums > Rapise Forums > Rapise Issues & Questions > Connect to a secure datab...
Hi,
I would like to connect to a database which requires login credentials. I was trying different things but failed to succeed. Can you show me an example of how to use Database.DoAttach to perform such a connection or tell me if it is even possible?
Thanks!
Hi Stefan,
User and password may be passed as a part of the connection string. It also depends on the database type. For example, for SQL Server it would be:
"........User ID=mylogin;Password=mypassword;"
You may find more information here:
https://www.connectionstrings.com/all-sql-server-connection-string-keywords/
I hope that helps.
Regards,
Alexey
And if you have any questions, please email or call us at +1 (202) 558-6885