我无法定期在 mysql 中安排备份,大多数工具无法识别几何字段,例如 navicat,上面写着
Can not get geometry object from data you send to the GEOMETRY field
其他人干脆不创建表或不填写信息字段,有人知道一个免费且有效的解决方案
最佳答案
正确转储:
- 没有 --hex-blob 就无法正确转储几何表
还可以使用 --routines --triggers 获取函数和触发器
mysqldump --hex-blob --routines --triggers -u root -p mydbname > dumped.sql
关于mysql - 定期在Mysql中备份,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19715558/