将MySql数据库还原到Azure MySQL。
mysql -h xxx.mysql.database.azure.com -u admin@xxx -p db1 < c:\xxx.dump
抛出错误:
ERROR: ASCII '\0' appeared in the statement, but this is not allowed unless option --binary-mode is enabled and mysql is run in non-interactive mode.
Set --binary-mode to 1 if ASCII '\0' is expected. Query: ''.
还原到本地MySql后,它可以正常工作。
任何线索?
您可以使用Azure CLI command来做到这一点,