top of page

Robot framework - Connect SQL DB

  • doanhoavn
  • Apr 4, 2023
  • 1 min read

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






 
 
 

Commentaires


Post: Blog2_Post
  • Facebook
  • Twitter
  • LinkedIn

©2020 by Bom's blogger. Proudly created with Wix.com

bottom of page