jplew / SyncDB

Bash script meant to take the tedium out of deploying and updating database-driven (eg Wordpress) websites. It rapidly synchronizes local and remote versions of a MySQL database, performs the necessary search and replace queries, then synchronizes all your uploads/binaries.
MIT License
234 stars 41 forks source link

Search string is empty #25

Open lewishealey opened 4 years ago

lewishealey commented 4 years ago

I've followed the instructions within the readme and set my local as eco.test and remote as my live site but it is saying that the string is empty. My local database has the values eco.test in so I know it's in there. Any ideas? Thanks

l_web_addr=eco.test r_web_addr=ecoclub.store

/usr/bin/php -q srdb.cli.php -h localhost -u wpuser -n wordpress_db -p [password hidden] -c utf-8 -s eco.test -r ecoclub.store search: Search string is empty

lewishealey commented 4 years ago

Ok so it works when I remove the charset attributes "-c utf-8"