Hi,
I'm new to AI. I'm trying to install MySQL as part of my installer, but having some issue. Here's what I have done so far.
1) I included mysql installation files along with my install files.
2) I added custom actions - install MySQL service and start MySQL service. [ I followed a thread found on this forum. ]
3) I moved these custom actions to RegisterFonts component.
4) I added ODBC driver, added connection and added MySQL script to run.
The error I'm getting is [SQLDriverConnect] {SQL_STATE:HY000}[MySQL][ODBC 5.1 Driver] Can't connect to MySQL server on 'localhost' (10061).
I verified that MySQL service was installed and running when I got this error (through a command line mysql.exe -u root mysql)
I have also checked my connection settings by doing the following.
1) First, I installed MySQL (using MySQL msi)
2) I created another project which just connects to MySQL and run SQL script. It works.
So I think that my ODBC driver, connection settings are correct. But there must be some synchronization issue. (like the service is not running yet when AI tries to connect.)
I can send my .aip. Please let me know. Thanks in advance!
FOLLOW US
Get the latest news in Application Packaging