Change automatically site name inside pages and html media

Omeka S allows to create multiple sites for one installation..

I would like to change the name and the slug for one site. But I have several pages and a lot of html media (attached to items) which refers to the former name (hyperlinks).

Is there a way, maybe directly from the mysql database, to change all mentions of
/s/former_name/... for /s/new_name?