InnoDB: The innodb_system data file 'ibdata1' must be writable

Hi, I receive this error on mysql and I can’t start the app

2021-10-14 17:38:10 0 [ERROR] InnoDB: The innodb_system data file ‘ibdata1’ must be writable

2021-10-14 17:38:10 0 [ERROR] InnoDB: The innodb_system data file ‘ibdata1’ must be writable

2021-10-14 17:38:10 0 [ERROR] Plugin ‘InnoDB’ init function returned error.

2021-10-14 17:38:10 0 [ERROR] Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed.

2021-10-14 17:38:10 0 [Note] Plugin ‘FEEDBACK’ is disabled.

2021-10-14 17:38:10 0 [ERROR] Unknown/unsupported storage engine: InnoDB

2021-10-14 17:38:10 0 [ERROR] Aborting

This error shows randomly, sometimes the app starts some other times doesn’t. I don’t know what is wrong, considering that the mysql is not blocked by the firewall and the file exists in data folder.

When this problem occurs, try to check whether the mysql server is not still running in memory (use Task Manager).