Sudodnf install mariadb-server command error

Hi, I am new to Linux, and I installed Fedora 31. I tried installing LAMP stack by following this: ( links ). I gave command “sudodnf install mariadb-server”, and in my terminal output I got “…conflicts with file from package MySQL-community-client-8.0.18-1.fc31.x86_64”. “sudo vim /etc/my.cnf.d/mariadb-server.cnf” also not available. How can I resolve this? Thank you!