These are log entries when trying to start mysqld:
2024-04-29T18:37:56.283671Z 0 [ERROR] InnoDB: The innodb_system data file ‘ibdata1’ must be writable
2024-04-29T18:37:56.283695Z 0 [ERROR] InnoDB: The innodb_system data file ‘ibdata1’ must be writable
2024-04-29T18:37:56.283702Z 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
2024-04-29T18:37:56.884525Z 0 [ERROR] Plugin ‘InnoDB’ init function returned error.
2024-04-29T18:37:56.884559Z 0 [ERROR] Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed.
2024-04-29T18:37:56.884566Z 0 [ERROR] Failed to initialize builtin plugins.
2024-04-29T18:37:56.884569Z 0 [ERROR] Aborting
2024-04-29T18:37:56.884585Z 0 [Note] Binlog end
2024-04-29T18:37:56.884859Z 0 [Note] mysqld: Shutdown complete
I have remove and reinstalled mysql using yum.