mysql and mysqldump options in wordmove 6 #632
Replies: 4 comments 9 replies
-
Minor thing first, in the hope to simplify your work:
The only thing is that the default one will always be the latest. Alternatively RVM is probably the best version manager to simplify such scenarios (even if my defalut is rbenv) and is well documented (the site is old-fashioned, but take my word for it: the software it's stable and sturdy! ;) ) With RVM you could do something like (I'm not copy-pasting, just writing, so keep it wisely)
at that point you can switch from the default gemset to the custom one with
whenever you'll need it. More info at https://rvm.io/gemsets/clear and long live to the good old RVM |
Beta Was this translation helpful? Give feedback.
-
In your scenrio, given this in wp-config
you should be able to simply comment/remove the If you really want to retain the db export:
column-statistics: 0 I don't know how good is the wp-cli's documentation about this thing, but the point is that you can pass any mysql flag to
while in Hope it helps |
Beta Was this translation helpful? Give feedback.
-
First try with Alpha 8:
Files seems to be ok. , but errors for the DB:
Some errors at the beginning of the sync.
The Wordpress installation is there and working. So i don't know what this path error is. |
Beta Was this translation helpful? Give feedback.
-
Ok. Found it. Spaces in the path has to be escaped in .yml files. Changed the local wordpress_path (from "Local Sites" to "LocalSites").
|
Beta Was this translation helpful? Give feedback.
-
I read your paragraph about wp-cli configuration, but couldn't find anything about mysqloptions with the link to the official wp-cli docs. Maybe I'm just not smart enough to find the place. 😉
I assume that you can't install wordmove 6 "in parallel" with wordmove 5. I'll try to set all necessary installations and settings in a virtual machine to have a closer look at the interaction of Local (Flywheel) and wordmove 6. The necessary and special entries in connection with Local were so far:
Additional mysql and mysqldump entries in movefile.yml to connect the DB via socket:
Corresponding change to the wp-config entry:
Beta Was this translation helpful? Give feedback.
All reactions