我们最近将核心 Angular 应用程序的数据库迁移为使用 Azure 数据库 MySQL,并为我们创建了服务器管理员用户。最近,我们错误地删除了服务器管理员帐户的权限,并失去了该帐户对数据库的所有访问权限。
由于 azure MySQL 数据库只能有一个服务器管理员用户,请告诉我如何向服务器管理员帐户授予所有权限,因为我们现在在创建新用户或访问 MySQL.user 表时被拒绝访问。
今天我花了很多时间在谷歌上搜索答案,但没有找到任何与我面临的问题相关的内容。如果需要任何其他详细信息,请告诉我,我很乐意提供。
最佳答案
您应该能够使用 Backup and restore in Azure Database for MySQL 修复此问题
Azure Database for MySQL automatically creates server backups and stores them in user configured locally redundant or geo-redundant storage. Backups can be used to restore your server to a point-in-time. Backup and restore are an essential part of any business continuity strategy because they protect your data from accidental corruption or deletion.
Backups
Azure Database for MySQL takes full, differential, and transaction log backups. These backups allow you to restore a server to any point-in-time within your configured backup retention period. The default backup retention period is seven days.
关于mysql - 失去对 MySql 服务器的 Azure 数据库的服务器管理员用户访问权限,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53279417/