Problems with MyScript
Posted: Fri 01 Mar 2013 14:37
Hi,
During the execution of the MyScript.ExecuteFromFile, I'm having problems when the script file has triggers and procedures creation statements.
I am using MySQL server 5.5.6rc for 64bit, MyDAC 7.1 and Delphi 2010.
It seems that the ExecuteFromFile is ignoring the DELIMITER statement in my script and it gives me an error during the execution of the script.
Here is the script file: https://dl.dropbox.com/u/19709075/script.sql
Here is the error message: https://dl.dropbox.com/u/19709075/mysqlerror.sql
The error only occurs during the execution in MyScript component. If I take this script and execute it in HeidiSQL program for example, all run OK without errors.
What can I do do fix this?
Thanks
During the execution of the MyScript.ExecuteFromFile, I'm having problems when the script file has triggers and procedures creation statements.
I am using MySQL server 5.5.6rc for 64bit, MyDAC 7.1 and Delphi 2010.
It seems that the ExecuteFromFile is ignoring the DELIMITER statement in my script and it gives me an error during the execution of the script.
Here is the script file: https://dl.dropbox.com/u/19709075/script.sql
Here is the error message: https://dl.dropbox.com/u/19709075/mysqlerror.sql
The error only occurs during the execution in MyScript component. If I take this script and execute it in HeidiSQL program for example, all run OK without errors.
What can I do do fix this?
Thanks