In order to change WordPress URL in MySQL database we need to run the queries we generated before for this specific database.

First thing first, you need to open a database you need, preferably in phpMyAdmin tool, you can find it in your hosting panel, but depending on the hosting you’re using it can be in different places.

how to find phpmyadmin in cpanel
If cPanel is installed on your hosting you can find the phpMyAdmin tool pretty easily.

Then just select a database and run our WordPress migration query on the “SQL” tab:

how to change WordPress url in MySQL database
Just run these SQL queries to change a WordPress website domain.