使用aws-cli更新lightsail mysql时区

https://forums.aws.amazon.com/thread.jspa?threadID=307496

https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-updating-database-parameters

1.通过get-relational-database-parameters查询可用参数

aws lightsail get-relational-database-parameters --relational-database-name DatabaseName

2.通过update-relational-database-parameters更新参数

aws lightsail update-relational-database-parameters --relational-database-name xxxx --parameters "parameterName=time_zone,applyMethod=pending-reboot,parameterValue=Asia/Shanghai"

 

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注