getting error with Mysql script - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

mahesh kumar
Posts: 1
Joined: Wed Feb 29, 2012 10:41 am

getting error with Mysql script

Hi,

I have written stored procedure in mysql...It is executing perfectly...After putting the dump file in advanced installer it was showing the error as shown below..
{SQL_ERROR}:{SQL_STATE:42000}[MYSQL][ODBC 5.1 Driver][mysqld-5.0.27-comunity-nt]You Have an error in Your Sql Syntax;
check the manual that corresponds to your my sql version for the right syntax to use near DELIMITER at line 1.

my procedure is
BEGIN
delete from login WHERE TimeStamp < DATE_SUB(NOW(), INTERVAL 2 DAY);
END

while taking the scripts into advanced installer i have chosen the delimiter ; i am using sql 5.0 version.....
i do not know why it is coming...If any one knows about this...please help me....it is very important...reply me as early as possible.
Attachments
SqlScript.txt
(431.09 KiB) Downloaded 158 times
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: getting error with Mysql script

Hello and welcome to Advanced Installer forums,

This issue is already debated under this thread.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”