hashicorp / terraform-provider-mysql

Terraform MySQL provider – This Terraform provider is archived per our provider archiving process: https://terraform.io/docs/internals/archiving.html
https://www.terraform.io/docs/providers/mysql/
Mozilla Public License 2.0
61 stars 189 forks source link

Update logic in resource_user_password #117

Open ArmaanT opened 4 years ago

ArmaanT commented 4 years ago

This PR updates resource_user_password to use the same logic as resource_user to set and update a user's password.

For MySQL versions up to 5.7.6, it will use SET PASSWORD and for later versions, it will use ALTER USER