interconnectit/Search-Replace-DB

-bash: !28: event not found

josipWebbite opened this issue · 3 comments

Hi, I am using this tool for years and this first time happend to me. I used something like this:

php srdb.cli.php -h HOST -n DBNAME -u DBUSER -p "PASSWORD" -s "https://DOMENA_OLD" -r "http://DOMENA_NEW"
and got:
-bash: !28: event not found
This happen with version 4.1.1 but also with 4.1.3. Few minutes before, I used the same thing and worked fine. Any advice?

Try wrapping your MySQL password with single quotes like:
php srdb.cli.php -h HOST -n DBNAME -u DBUSER -p 'PASSWORD' -s "https://DOMENA_OLD" -r "http://DOMENA_NEW"

Thanks, I will try