Error
Error Code:
1699
MySQL Error 1699: SET PASSWORD Ineffective for Plugin Users
Description
This error occurs when you attempt to use the `SET PASSWORD` statement for a MySQL user account that is configured to authenticate using a server-side authentication plugin. For such users, the plugin manages their authentication credentials, often externally, rendering direct password changes via `SET PASSWORD` ineffective or irrelevant.
Error Message
SET PASSWORD has no significance for users authenticating via plugins
Known Causes
3 known causesUser configured with authentication plugin
The target MySQL user account is explicitly defined with an authentication plugin (e.g., caching_sha2_password), which takes precedence over direct password management.
Server default authentication plugin
The MySQL server's `default_authentication_plugin` system variable is set, causing new users or users created without an explicit `IDENTIFIED WITH` clause to use a plugin.
External authentication integration
The user's authentication is handled by an external system (like LDAP or PAM) through a MySQL authentication plugin, meaning credentials are not stored internally.
Solutions
Coming SoonGeneral Troubleshooting Tips
- Check the error message carefully for specific details
- Review recent changes that might have caused the error
- Search for the exact error code in the official documentation
- Check log files for additional context
- Try restarting the application or service