Just to say, @trainoasis and I sorted this out off-forum. Turns out the Homebrew-installed mysql had a different password than expected.
2 Likes
Indeed. Thanks for your much appreciated help @danielroe !
I just love the community here, it keeps you up and running Cheers!
@danielroe coming back to this since I had to convert another existing project, and might shed some light for someone (myself included):
For my case only doing search replace for wp-content -> app was not enough, since:
The original page was a root domain installed in a subfolder with the same name as the domain :
FROM PRODUCTION DB TO LOCAL: (for webdomain.si in a subfolder /webdomain.si)
- Fill in .env, then
wp db create
&&wp db import <exported sql dump from production>
wp search-replace webdomain.si/webdomain.si webdomain.my/wp --dry-run
wp search-replace webdomain.si/wp-content webdomain.my/app --dry-run
wp search-replace webdomain.si webdomain.my --dry-run
-
wp search-replace wp-content app --dry-run
# --> this still did replacements -
wp search-replace wp/app app --dry-run
# --> this still did replacements as well
Was wondering if this replacements are way to many, and if they’ll hit me in the head later on? Seems like everything is working as expected though …
1 Like