How to update Outdated SQL server on centos?

Hello, i have 4 website on my cyberpanel, may i know how to update my maria sql server on centos? i can’t find any information, i followed the update on linux, but they give me no such directory when i try to update it. Please help me or give me a video or tuto to update it without losing my data.

Thank you so much in advance