Articles and projects relating to 'MYSQL'

How to rename a WordPress URL in MYSQL


This is how you can rename a WordPress URL using a SQL script. This can also be done against a Docker container.
The script requires two variables to be set. The first is the old site name and the second is the new site name.  I’ve included some examples of how to set and pass these variables into the SQL file.