문제

Using RIDE, I want to connect to MySQL Database.

I have downloaded the DatabaseLibrary and MySQL. I need to execute queries from MySQL for validating.

How to connect to MySQL using RIDE?

도움이 되었습니까?

해결책

Here is a simplified RF test setup using MySQL database on localhost:

*** Settings ***
library             DatabaseLibrary
library             pymysql
Suite Setup         Connect To Database    @{database}

*** Variables ***
@{database}     pymysql     dbname    user    password    localhost  3306  
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top