I made a mistake when configuring a WordPress url and could no longer access the site to rectify the issue!
If you are as dumb as I was and need to change the url when you can’t access the WordPress admin panel you can follow these instructions if you have access to the database.
Login over ssh or access the Terminal and login to mysql using your username and password.
You can then show all the tables if you wish.
We need to select the 2 url entries from the database and change them to what we want.
Here you can make sure this is the correct entry you wish to change.
Then use the option id of the column you need to change like this.
Make sure you do this for both entries and you’re all done.