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!

hussain
Posts: 1
Joined: Fri Oct 30, 2015 6:15 am

MySQL scripts does not work

Hi, I am creating an installer for java product. I need to execute a SQL script during installation to import database structure and initial data into the MySQL database for the application. I have followed the instructions in the tutorials about SQL connections and SQL scripts at: http://www.advancedinstaller.com/user-g ... l-sql.html
I have done every thing precisely. but when i run the installer, the application is installed, but no thing changes in the database. no structure and data is imported. like no script has been executed.
I also test the connection from inside my project and it is successful. but after installation no thing happens as explained.
I would be happy if any one could help me.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: MySQL scripts does not work

Hello and welcome to our forums,

Can you please send us the .AIP (project file) and a verbose log of the installation to support at advancedinstaller dot com so we can investigate them?

If you cannot share with us your project file, then you can try to isolate the behavior in a buildable sample (.aip + its referenced files) which we can build and test on our side.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”