Skip to content

fix(linux): resolve MySQL root password removal and prompt for current password when set - #6

Open
plusemon wants to merge 4 commits into
wpexpertinbd:masterfrom
plusemon:fix/mysql-root-password-removal
Open

fix(linux): resolve MySQL root password removal and prompt for current password when set#6
plusemon wants to merge 4 commits into
wpexpertinbd:masterfrom
plusemon:fix/mysql-root-password-removal

Conversation

@plusemon

Copy link
Copy Markdown
Contributor

Summary

  • Password Prompt: When a MySQL root password is set, the root password dialog in window.py now prompts for the current password as well as the new password (leave blank to remove).
  • Authentication: mysql_run in engine/bhserve and platform-linux.sh authenticates using BHSERVE_OLD_DB_PASSWORD / MYSQL_PWD or saved credentials.
  • Privilege Fallback: Falls back to pkexec/sudo elevation on Linux if unprivileged connection fails.
  • MySQL 8.4 Support: Updated ALTER USER 'root'@'localhost' IDENTIFIED BY '' syntax for MySQL 8.0/8.4 compatibility.

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

Successfully merging this pull request may close these issues.

1 participant