Repair the database to fix the issue
When opening MassTransit Administrator, you receive the following error:
An error occurred with MassTransit:
Unable to connect to the MassTransit server
The service is not started to the database is damaged.
Try to start the MassTransit Service. If the service starts then reconnect from the Admin. If the service won’t start check the Event Viewer for errors regarding the MySQL tables. If there are problems with the tables, they can generally be resolved by a database repair.
To do a database repair you should first backup your databases:
- if on Windows: MassTransit Database Backup Procedures for Windows
- if on Mac: MassTransit 5.1 and 6.0 Database Backup Procedures for Mac OS X
- and then do a repair: Repairing MySQL Tables
See also MassTransit FAQ.