Erpnext database restore problem

Creating Database…
ERROR 1419 (HY000) at line 158: You do not have the SUPER privilege and binary logging is enabled (you might want to use the less safe log_bin_trust_function_creators variable)
196KiB 0:00:00 [1.06MiB/s] [==> ] 3%
Database not installed, this can due to lack of permission, or that the database name exists.
Check your mysql root password, or use --force to reinstall!


You probably create a new site and then try to restore it.