In my Ubuntu VPS, to search and replace in a DB of a site I do for example:
cd /var/www/html/example.com sudo wp search-replace "http://" "https://" --all-tables
Yet in Windows 10 I use XAMPP and can't do this action with WSL + WP-CLI because one cannot use Bash inside windows (yet).
I have installed a backup version of an online website in Windows XAMPP and all main menu links turn to the online site so I need to change in DB from
How could I easily and efficiently change the DB from
localhost://. in XAMPP in Windows?