Single quotes added to filename on wp-cli db import/export.
See original GitHub issueDescribe the bug
When I export a database, the filename is created enclosed by single quotes: 'db.sql'
. For importing it only works with the single quotes arround the filename and extension too.
Steps to Reproduce
- Run
10updocker wp export {dbfilename}.sql
Expected behavior It’s expected to have your database exported without single quotes around the filename, and to be able to import databases without adding single quotes too.
Environment information
- Device: Desktop Computer
- OS: Windows 10 Pro 19041.329
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Using WP-CLI to import a remote database - J. Michael Ward
Normally, when you export a database using the wp db export command, it writes a file to the directory from which you called...
Read more >WP-CLI – Page 10 – The command line interface for WordPress
WP -CLI is the official command line tool for interacting with and ... use of WP-CLI's database management features: wp db export ,...
Read more >Using WP-CLI With Your WordPress Optimized Template Site
Back Up A Database. One particularly useful WP-CLI command allows you to easily back up the WordPress database: wp db export.
Read more >passwords with single quotes breaks wp-config.php · Issue #93
php file with a password containing single quotes, the resulting wp-config.php file is invalid and produces a PHP syntax error. Describe how ...
Read more >Working with the bcp Command-line Utility - Simple Talk
By using the utility, you can export data from a SQL Server database into a data file, import data from a data file...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Awesome, @allysonsouza! Please, keep in mind that
@next
means it’s not ready yet to be published as a new stable version. So, use it at your risk or downgrade to the current stable version.Thanks @nicholasio and @eugene-manuilov, I tested here and the problem is solved in the
@next
version.