问题
Using RIDE,I want to connect to MySql Database.
I have downloaded the Database Library and MySQL db .I need to execute queries from MySQL for validating.How to connect to MySQL using RIDE.
回答1:
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
来源:https://stackoverflow.com/questions/11323209/how-to-connect-to-mysql-using-ride