MySQL is a great database tool if you need a powerful database, but free to use. However, it does take a couple more steps to set it up and get it working on Linx. I have followed these steps to connect to MySQL with Linx.
First, I’ve installed MySQL, by installing WAMP on a new Windows server, from WampServer, la plate-forme de développement Web sous Windows - Apache, MySQL, PHP . This is a quick way to get a working MySQL server up and running with the required admin tools like phpMyAdmin. Remember the default username and password for MySQL on WAMP is root with a blank password. The default MySQL port is 3306
Then I created a small database called LinxTest with a table with the following structure, and added a couple of rows of data to test on:
When I start the solution in Designer, it works perfect, but when started from Server. it returns an error.
EventException, 64e423a6b8d04c179265a12b44173bb6, Twenty57.Linx.Runtime.SDK.LinxException: TimerEvent.Process: Process.ExecuteSQL: ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified —>
What could be the problem?
note: I use ODBC driver for MySQL, and works fine starting from Linx Designer.
Thank you for highlighting this. I missed a step after (4). Please add the new Data Source Name under the “System DSN” tab (and not the default User tab). This will allow your System processes (like Linx Server) to find your database.
Quick note to add, if you do not want to do the DSN step in setting up a MySQL connection, you can simply expand the Connection string with the details:
If you’re looking for a easy and more up to date installation I found this really nice setup guide for installing the MySQL Community workbench for Windows 10.
Hi Dawie,
For now I use MySQL Workbench to read the data but I wanna make some processes with Linx using this DB. So any solution / suggetion is welcomed ^^
Thanks in advance for your help