1

My goal is to be able to test a DB connection from Oracle, MySQL, PostgreSQL, SQL Server, etc., ideally without installing any drivers (probably not possible).

I'm working on Inno Setup. The user would put the DB connection information there, and they would be able to test it before installing the app. I've tried using ADOConnection, but it only worked for SQL Server.

Is there a script command that could achieve what I want?

3
  • Your target not to install drivers is not achievable. For example, for MySQL you need ODBC drivers codeproject.com/Tips/1055434/… Commented Aug 3, 2022 at 6:03
  • 1
    So ADOConnection is the right way to go but you need to explore what is necessary for each database you want to support Commented Aug 3, 2022 at 6:03
  • 1
    Thank you @demonplus for the response. I will see what I can do with ADOConnection, and later post a full response if I manage to do it Commented Aug 3, 2022 at 17:35

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.