且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在临时sql server上使用带有Robot Framework的数据库库

更新时间:2023-01-15 17:00:35

我得到了.....

我以错误的方式接近数据库库(Apache 许可)来自http://franz-see.github.com/Robotframework-Database-Library/ 我目前仅使用 psycopg2 与 postgresql 一起测试,它可能会或可能不会与其他 RDBMS 一起使用.所以我尝试连接pymssql db,它支持bydefualt并且成功了.

I was approaching in a wrong way The Database Library (Apache License) from http://franz-see.github.com/Robotframework-Database-Library/ i am using is currently tested only with postgresql using psycopg2, it may or may not work with other RDBMS. So I tried it to connect pymssql db, which is supporting bydefualt and it worked.

我用过使用自定义参数 pymssql 'dbname', 'username', 'password', 'host' 连接到数据库

I used Connect To Database Using Custom Params pymssql 'dbname', 'username', 'password', 'host'

作为先决条件,我需要从以下位置安装 Pymssql(GNU 宽松通用公共许可证)http://pymssql.sourceforge.net/license.php

As a prerequisite i need to install Pymssql (GNU Lesser General Public License) from http://pymssql.sourceforge.net/license.php

谢谢