我尝试使用重命名数据库命令,但失败并出现以下错误。我也没有看到通过 Amazon RDS 控制台停止 RDS 实例的选项。
mysql> rename database foo to foo_orig;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'database foo to foo_orig' at line 1