How to connect to mysql using ride

。_饼干妹妹 提交于 2019-12-11 06:25:30

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!