Question

I have this Visual Studio program that I am packaging into an .exe setup using Advanced Installer v10.7. I have added all the prerequisites into the installer with no issues.

My problem comes in when I am trying to run a MySQL script I included in the installer. I created the script using SQLyog Backup DataBase As SQL Dump.

I have made sure that the correct version of MySQL is installed on the target computer. During the install process, I get the error

enter image description here

This is the part of the script that is throwing the error from the Advanced Installer - SQL Scripts page

enter image description here

What I don't understand is that when I try to restore my database directly form SQLyog using the same script, it works.

How do I fix this?

Was it helpful?

Solution

Most likely the problem is that there is no statement separator specified. Try setting that field (visible below the inline script field) to ';'.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top