I have the message "Failed to connect to mySQL server. No Database found for this lab account". What can I do? - LabCollector

Knowledge Base

Search Knowledge Base by Keyword

I have the message “Failed to connect to mySQL server. No Database found for this lab account”. What can I do?

You are here:
← All Topics

If you work on Windows, and Database server is not green in the server manager,
or your computer shut down unexpectedly and you have the message “Failed to connect to MySQL server. No Database found for this lab account” when you try to enter on your LabCollector instance.


                                                           

One of the solution is to follow these steps:

1. Stop the servers (indicated by red icons in server manager)

2. Go in C:\Program Files (x86)\AgileBio\LabCollector\mysql\data

3. Delete all the files as shown on the screenshot below

4. Restart your servers. Server icons should be green.

With the server manager 2.6,
Go to Settings menu, and use the function MySQL Repair to correctly restart this server.