What issue or error are you experiencing?
Can’t export (or perform any database-related command) using WP-CLI. No problem connecting to the database with the same wp-config.php
credentials using HeidiSQL. I have looked up any number of related issues on this forum and none are Windows-specific and the few related ones offer solutions that are unique to Linux or macOS.
What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc
Click “Site shell” link, ensure you’re in the correct folder and enter:
wp db export --add-drop-table
and I get this result:
V:\dev\WordPress\icggallery\app\public>wp db export --add-drop-table
Warning: Failed to get current character set of the posts table. Reason: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
mysqldump: Got error: 1045: Access denied for user 'root'@'localhost' (using password: YES) when trying to connect
System Details
- Local Version:
Version 9.1.0+6719 - Operating System (OS) and OS version:
Windows 10
Local Logs
local-logs.zip (630.1 KB)