After getting mysql databases disappeared from phpMyAdmin page and notification error I removed and installed mysql, when done I run the following cmd but there was an issue.
INSTALL:
kimai sudo dnf install mysql-community-server
CMD:
kimai sudo service mysqld restart
Redirecting to /bin/systemctl restart mysqld.service
ERROR:
kimai tail -f /var/log/mysqld.log
2019-06-09T17:32:49.486872Z 0 [ERROR] [MY-010119] [Server] Aborting
2019-06-09T17:32:49.487487Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.16) MySQL Community
Server - GPL.
2019-06-09T18:23:08.010622Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.16) starting as process 8864
2019-06-09T18:23:08.859904Z 1 [ERROR] [MY-012592] [InnoDB] Operating system error number 13 in a file operation.
2019-06-09T18:23:08.859945Z 1 [ERROR] [MY-012595] [InnoDB] The error means mysqld does not have the access rights to the directo
ry.
2019-06-09T18:23:08.859966Z 1 [ERROR] [MY-012270] [InnoDB] os_file_get_status() failed on './ibdata1'. Can't determine file perm
issions
2019-06-09T18:23:08.859993Z 1 [ERROR] [MY-010334] [Server] Failed to initialize DD Storage Engine
2019-06-09T18:23:08.860208Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
2019-06-09T18:23:08.884530Z 0 [ERROR] [MY-010119] [Server] Aborting
2019-06-09T18:23:09.038098Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.16) MySQL Community
Server - GPL.