79323796

Date: 2025-01-02 13:08:08
Score: 1
Natty:
Report link

I did the same steps (for my Desktop Web Testing) mentioned by Hari Mahesh on this How-to Articles page https://testrigor.com/how-to-articles/how-to-do-database-testing-using-testrigor/. But each time I am facing this error:

***"Unable to connect the driver. Error: Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server."***

I am using MySQL Server 8.0. I am able to login from command line and Workbench GUI. Note: I did try every bit of fix available at the internet such as (adding and applying Rule in Windows firewall, adding line bind-address=0.0.0.0 in my.ini, applying different combinations of Connection String.

Following are few of samples of connection strings I added in Database Integrations.

testrigor jdbc:mysql://127.0.0.1:3306/testrigor root ******

testrigor jdbc:mysql://localhost:3306/testrigor Zia ******

demodb jdbc:mysql://192.168.0.104:3306/testrigor testrigor ******

demodb jdbc:mysql://[email protected]:3306/testrigor root ******

And following are few of sample of statement from test I used run sql query "use testrigor;" using connection "localhost" run sql query "select * from emp;"

Upon entering incorrect connection in test statement I am getting following:

Connection jdbc:mysql://127.0.0.1:3306/testrigor is not configured so the database query cannot be executed as specified in run SQL query "select * from emp;" using connection "jdbc:mysql://127.0.0.1:3306/testrigor"

I have also tried this on my Local Microsoft SQL Server 2022 Express Edition and changed networks. Interestingly there is no exception shown in browser console.

Reasons:
  • RegEx Blacklisted phrase (1): I am facing this error
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Ziaullah