Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们在 MySQL 5.6 上;今天使用快照迁移到 Aurora。所有数据库模式都存在于新的 Aurora 数据库中;除了 tmp !
在 Aurora 集群中,tmp 模式作为表模拟从文件中排除。因此,当 1)用户访问恢复的集群 2)用户访问读取器节点时,用户在 tmp 模式中看不到任何表
tmp 数据库从快照中排除,因此建议不要使用“tmp”名称作为数据库中的表名或数据库名。
无论如何,如果你有这样的数据库/模式;您需要使用 mysqldump 实用程序手动导出和导入它们。即使这样也产生了一些问题。
所以,我采取的最终解决方案是将 tmp 模式名称更改为 tempo ..