Hi All,
can anyone help me How to connect MySQL Databases using Gupta Products.
Regards.
Sunil
How To Connect MySQL Databases
-
- Founder/Site Admin
- Posts: 3447
- Joined: 24 Feb 2017, 09:12
- Location: Gouda, The Netherlands
Re: How To Connect MySQL Databases
Use an sql.ini like this:
- Install MySql
- Install MySql ODBC driver
- Setup datasources in windows for ODBC, add MySql
- Use sql.ini, setup the correct DSN you have provided in the windows ODBC setup
In TD, set SqlDatabase, password and user and do SqlConnect.
I have also used MariaDB (a fork of MySql) which works the same.
Code: Select all
[win32client]
clientname=tstmysql
clientruntimedir="C:\Program Files (x86)\Unify\Team Developer 6.1"
[win32client.dll]
comdll=sqlodb32
[odbcrtr]
odbctrace=off
odbctracefile=sql.log
remotedbname=MySQL, DSN=MySQL
- Install MySql ODBC driver
- Setup datasources in windows for ODBC, add MySql
- Use sql.ini, setup the correct DSN you have provided in the windows ODBC setup
In TD, set SqlDatabase, password and user and do SqlConnect.
I have also used MariaDB (a fork of MySql) which works the same.
Regards,
Dave Rabelink
Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel
Dave Rabelink
Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel
Who is online
Users browsing this forum: No registered users and 0 guests