I have copied over the the site directory to a new install of erpnext which includes the site_config.json file. However whenever I try to import the database it appears to not decrypt the file and tries to import a unencrypted binary file. The error I keep getting is
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 of ASCII ‘\0’ is expected. Viewing the file displays garbage as in not an SQL file bit all binary.