I can't use mysql on my Fedora Workstation 31.
Basically I followed this solution for the installation https://computingforgeeks.com/how-to-install-mysql-8-on-fedora/
But when I try to start mysql from the shell, the error message appears:
ERROR 2002 (HY000): Cannot connect to the local MySQL server through socket & # 39; /var/lib/mysql/mysql.sock' (two)
Although mysqld.service is running and in mysqld I receive the following message:
2020-01-24T22: 42: 12.251874Z 0 (System) (MY-010116) (Server) / usr / sbin / mysqld (mysqld 8.0.19) starting as process 6861
2020-01-24T22: 42: 12.253114Z 0 (ERROR) (MY-010123) (Server) Serious error: Read the "Security" section of the manual to find out how to run mysqld as root!
2020-01-24T22: 42: 12.253150Z 0 (ERROR) (MY-010119) (Server) Abort
2020-01-24T22: 42: 12.253235Z 0 (System) (MY-010910) (Server) / usr / sbin / mysqld: Full shutdown (mysqld 8.0.19) MySQL community server – GPL.
Does anyone have (or had) the same problem and know how to solve it?