How can I upgrade MariaDB in XAMPP

I have installed XAMPP in Fedora 40, which I am using most of the days. Now I need to upgrade the MariaDB version in XAMPP because it is lower from the version in my online server. I have read several online articles, watched some tutorials on YouTube but nothing became clear as I am very new to Fedora a.k.a Linux. So I thought that the best way I can get help is here. I need step by step guide. Please help me because I build websites for a living though it is very tough as a career for an one man army in India but it is what I do and as I have chosen Fedora as my near future fulltime OS, I need to use XAMPP and its features, add-ons and upgradation. So, please help me.

Note: I didn’t understand in which sub-forum should I post it, so I posted it here, my safest choice. Moderators are requested to correct this, if it is wrongly posted here. Thank you.