https://github.com/interconnectit/Search-Replace-DB
php srdb.cli.php -h mysql -n database_name -u user_name -p "password" -s "http://a.com" -r "https://b.com"
https://github.com/interconnectit/Search-Replace-DB
php srdb.cli.php -h mysql -n database_name -u user_name -p "password" -s "http://a.com" -r "https://b.com"