Subscribe Join 180,000+ subscribers and receive articles from our blog about software quality, testing, QA and security. Subscribe

Could not connect to the specified database: Connection refused during Wizard Install

I installed Testrail on an Ubuntu server and I am trying to finish the wizard but on step 2 I get the following error:

Could not connect to the specified database: Connection refused

I have entered the name of the server, I followed the steps to create a database called testrail and user testrail. Password works as I am able to log into phpmyadmin with the same username and password.

Why doesn’t it work?