Trying to test a MySQL connection - Advanced Installer Community

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!

wDaniel
Posts: 6
Joined: Fri Feb 12, 2010 12:17 pm

Trying to test a MySQL connection

Hello,

in my current project i want to test a MySQL connection before continue the setup.
I tried the tutorial http://www.advancedinstaller.com/user-g ... ction.html and i downloaded the OBCD driver from MySQL called myodbc5.dll but when i push on the next button i become an error message.

[SQLDriverConnect]{SQL_STATE: IM002}[Microsoft][ODBC Driver Manager] Der Datenquellenname wurde nicht gefunden, und es wurde kein Standardtreiber angegeben.

When i try the Tutorial http://www.advancedinstaller.com/user-g ... l-sql.html the example sql script works perfect. So i don't know why the connection test won't work.

The MySQL server config:
Server: localhost
Port: 3306
Datenbank: test
Benutzername: root
Passwort: ipt

Best regards,
Daniel
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Trying to test a MySQL connection

Hi Daniel,

Please send your .aip project file to support at advancedinstaller dot com so we can investigate the behavior.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
wDaniel
Posts: 6
Joined: Fri Feb 12, 2010 12:17 pm

Re: Trying to test a MySQL connection

Good morning Gabriel,

i think i found the problem.

First i post my workflow:

1. Add the ODBC driver APPDIR\MyODBC\myodbc5.dll with DriverName = MySQL ODBC 5.1 Driver
2. Make all entries from the how to (e.g. Driver=[\{][ODBC_RES_PROP][\}];Server=[SERVER_PROP];Port=[PORT_PROP];Uid=[USERNAME_PROP];Pwd=[PASSWORD_PROP];)

But know when i start the setup and see the SQLConnectionDlg i become the error
[SQLDriverConnect}{SQL_STATE: IM002}[Microsoft][ODBC Driver Manager] Der Datenquellenname wurde nicht gefunden, und es wurde kein Standardtreiber angegeben.

When is the ODBC driver installed? When i start the setup or after copying files? There 's the problem, when i start the setup no driver is installed when i show in the ODBC Data Source Administrator on Windows XP. When the setup is complete i see the Driver in the ODBC Data Source Administrator.

When i install the driver manually before i start my setup file the sql connection test works.

I have send the .aip by mail.

Best regards
Daniel
mmatecki
Posts: 1
Joined: Wed Oct 06, 2010 1:48 pm

Re: Trying to test a MySQL connection

Hello,
Did you resolve your issue with MySQL? I've got the same problem how to test connection to the MySQL.
Best regards,
Maciej Matecki
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Trying to test a MySQL connection

Hello Maciej,

Can you describe your issue in more detail and the steps you did up to this point that lead to the issue?

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
rmusial
Posts: 1
Joined: Mon Oct 11, 2010 7:50 am

Re: Trying to test a MySQL connection

Hello Gabriel,
I want to test a mysql connection before continu the setup
(http://www.advancedinstaller.com/user-g ... ction.html)
but I don’t know where and/or how add ODBC driver ?

If I install the driver manually before I run my setup I can test a connection,
if not when I start the setup and test a mysql connection I see error “[SQLDriverConnect}{SQL_STATE: IM002}[Microsoft][ODBC Driver Manager]Data source name not found and no default driver specified”.

Best regards,
Rafał Musiał
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Trying to test a MySQL connection

Hi Rafał,
but I don’t know where and/or how add ODBC driver ?
You can try to add the driver in the ODBC page from Advanced Installer.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”