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

Reset Testrail MySQL Password?

Hi! So I found an old instance of TestRail (v2.3!) and I’m trying to find out what’s in it. I thought changing the ‘testrail’ password in MySQL would fix it, but apparently that locked the application out and now it doesn’t seem to be running correctly. When I try to access it, I get the following error:

Access denied for user ‘testrail’@‘localhost’ (using password: YES)

How can I change the application’s ‘testrail’ password to match the ‘testrail’ password in MySQL?

In the TestRail installation directory is the file config.php which has the DB credentials. Update DB_PASSWORD to match.

That got it, thanks!

It’s also a massive security hole, but hey. :slight_smile: