mysql_mcp_server
mysql_mcp_server copied to clipboard
Support empty password when using local mysql for test
- Support empty password with warning log when using local mysql for test
- Fix some flake8 problem by the way.
@zhangzhw8 Thank you for your contribution! While the addition of support for empty passwords in local MySQL testing could be convenient, it raises some concerns:
- Security Risks: Allowing empty passwords, even in a testing environment, could lead to accidental configurations being deployed in production, which poses a significant security vulnerability.
- Best Practices: This change might encourage practices that deviate from secure coding standards, potentially impacting the reliability of the system.
- Safeguards: It is unclear from the current implementation whether there are adequate safeguards to prevent this feature from being used outside of a testing context.
We are currently reviewing the potential risks versus the benefits of this change.