Most likely the problem is that there is no statement separator specified. Try setting that field (visible below the inline script field) to ';'.
Advanced Installer error on running MySQL script at Program Setup
-
10-10-2022 - |
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
This is the part of the script that is throwing the error from the Advanced Installer - SQL Scripts page
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?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow