top of page
doanhoavn

Robot framework - Connect SQL DB

1) To connect to DB, you need to check some below information

  • SQL Server is running

  • SQL Server does not exist or unavailable

  • Remote connection is disabled for SQL instance

  • Port is not added in the firewall exception list

  • IP address of the instance is blocked


2) Using DatabaseLibrary to connect DB


Connect to SQL

| Connect To Database | pyodbc| my_db | postgres | s3cr3t | tiger.foobar.com | 1433


Please make sure the information of dbapiModuleName (postgres or SQL) and its port



How to check port used by SQL Server


The default ports used by SQL Server






7 views0 comments

Recent Posts

See All

Commentaires


Post: Blog2_Post
bottom of page