Azure Portal创建MySQL Server时administratorLogin参数无效问题求助
解决Azure MySQL Server创建时administratorLogin参数无效的问题
错误详情:
{ "code": "DeploymentFailed", "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.", "details": [ { "code": "InvalidParameterValue", "message": "Invalid value given for parameter administratorLogin. Specify a valid parameter value." } ] }
问题原因及解决步骤:
该错误是由于输入的服务器管理员登录名不符合Azure MySQL的命名规则,按以下要求修正即可:
必须遵守的命名规则:
- 长度限制在1-63字符之间
- 仅允许使用小写字母、数字和连字符(
-) - 不能以连字符开头或结尾
- 禁止使用Azure保留用户名,例如
admin、administrator、root、guest、public等
修正操作流程:
- 返回Azure Portal的MySQL Server创建页面
- 在「服务器管理员登录名」输入框中,输入符合规则的用户名,比如
mysql-admin-2024、dbuser123 - 确认密码满足复杂度要求(8-128字符,需包含大小写字母、数字、特殊字符中的至少三种)
- 重新提交部署请求
内容的提问来源于stack exchange,提问作者sweetnandha
相关产品推荐
相关产品推荐

