Upgraded MariaDB and links are now broken

Last night I spoke to a Cloudways rep to ask about upgrading MariaDB10.1 to 10.4. He said he recommended the upgrade, but to backup first, so I did the backup and did the upgrade.

After the upgrade, all my links that used to be mydomain.com/page are now written as 679110-2234490-raikfcquaxqncofqfm.stackpathdns.com/page

The page now seems “Mixed” so that my Google AdSense ads are not showing.

I thought OK, let me just roll back to MariaDB10.1 - can’t do that.
I thought OK, let me just roll back to the backup - doesn’t work.

Upgrading MariaDB broke all my links, not sure what to do. Rep wouldn’t help and opened a ticket for me after 1+ hr wasted. Any idea what I should do?

Do a search and replace on the database to replace 679110-2234490-raikfcquaxqncofqfm.stackpathdns.com with mydomain.com.