Please help a total newbie set up a wordpress server

I recently started my journey attempting to host a website myself from home, and after some google research i built a cheap but relatively speedy PC, installed fedora linux and set following [this]( guide on installing and setting up wordpress. I got to the step where you access your local server’s ip /wordpress and while the page loaded it gave me this (attatched photo) error and despite following all of the help i have found and endless tinkering with mariadb setting and my wp-config file i can’t seem to figure it out. Any ideas?

thanks for the help



This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer