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!

jwalliser
Posts: 1
Joined: Thu May 03, 2007 2:49 pm

SQLDriverConnect error during installation

My installer is working correctly until it starts "Executing install SQL scripts". At that point it gives me the following error:

SQLDriverConnect: [MySQL][ODBC 3.51 Driver]Unknown MySQL server host '(local)' (11001)

I've tried changing the DSNs within Advanced Installer, but it always assumes this '(local)' value. Even if I specify "localhost".

The driver I'm using is MySQL ODBC 3.51 Driver

In the attributes of the data source I have:
SERVER=localhost
PORT=3306
DATABASE=ImageArchive
UID=[MYSQL_USER]
PWD=[MYSQL_PASS]

This is after I created the DSNs on my machine and imported them into the installer.

Before I had set them up manually within the installer and the attributes were:
Database=ImageArchive
User=[MYSQL_USER]
Password=[MYSQL_PASS]


Both data source setups resulted in the error message described above. It's almost as if the installer isn't even using the data source information to connect to MySQL. What am I missing here?
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

If you use a DSN then leave the Server,Port and Database fields empty because they are get from the DSN configuration. But more recommended is to use directly the ODBC Driver instead of a DSN.

http://www.advancedinstaller.com/user-g ... ction.html

However if the problem persist please send the AIP file (if not contain any contain any confidential informations) or a small similar test case reproducing this issue to support at advancedinstaller dot com.

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”