Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem wp db export in windows #203

Closed
mehrshaddarzi opened this issue Jul 18, 2021 · 6 comments
Closed

Problem wp db export in windows #203

mehrshaddarzi opened this issue Jul 18, 2021 · 6 comments

Comments

@mehrshaddarzi
Copy link

mehrshaddarzi commented Jul 18, 2021

Hi @schlessera,
When I use wp db export in Cmd windows get Error:

eere

There is a Double quote that Causes an error. When I run the mysqldump command separately, it is complete:

345

I saw this function in the source and I think its condition should be cleared:

97649

@monirulalom
Copy link

@mehrshaddarzi I am having same issue. What is the filename of the source ?

@mehrshaddarzi
Copy link
Author

@monirulalom @schlessera

Unfortunately, WP-CLI development on Windows operating system is very weak.
I found some different bugs from WP-CLI that are not followed at all.

The File path:
~/wp-cli/php/utils.php

You must remove the quotation mark.
thanks

@monirulalom
Copy link

@mehrshaddarzi Thanks for quick response . It is now exporting but showing an warning.
Warning: Failed to get current character set of the posts table. Reason: ERROR at line 1: Unknown command '\_'.

@wojsmol
Copy link
Contributor

wojsmol commented Oct 8, 2021

@mehrshaddarzi @monirulalom For WP-CLI usage on Windows I recommend WSL or similar unix-like environment.

@lipemat
Copy link
Contributor

lipemat commented Oct 14, 2022

@danielbachhuber
Copy link
Member

Closing in favor of wp-cli/wp-cli#5521

We can continue the conversation there

@danielbachhuber danielbachhuber closed this as not planned Won't fix, can't repro, duplicate, stale Oct 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants