Can't restore a separeted Stored Procedure File

Jun 1, 2016 at 11:30 PM
Edited Jun 1, 2016 at 11:38 PM
I can restore a mysql data backup sucesfully, but when I try to restore a Stored Procedure/Functions backup it gives me this error:

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3.

If I restore it from workbech it restores ok.

Version:
-- MySQL dump 10.13 Distrib 5.6.28, for Win64 (x86_64)
Windows Server 2012 r2 Datacenter
Coordinator
Jun 6, 2016 at 10:08 AM
I need more details.
Try to upload a sample project that will generate the error.