Skip to main content
Product: Kryon RPA
Product Version: All versions
Components: Kryon Admin; Kryon Studio
The following article will take you step-by-step through the process of setting up mySQL.
Prerequisites: In order to work with mySQL, you will need to ensure that the mySQL driver is downloaded and installed in your machine. To identify if a valid driver is available, open the ODBC Data Source Administrator. When attempting to add a new DSN, you should see the mySQL drivers present in the list.

Steps: Setting Up mySQL ODBC Connectivity
23934i1E2CB5FF79709C49.jpg
 

Create a new DSN and point it to the mySQL instance that you want to connect to. Test the connection to ensure the connection is successful.

23935iBB1F898B3A565E3F.jpg

 

Working with mySQL DB

To extract data from mySQL, use the "Execute SQL Query" advanced command in Kryon Studio.
Select Custom Query and use the connection builder to create your connection string.
Under Provider, select "Microsoft OLE DB Provider for ODBC Drivers". 
 

23936iA43F616579250B02.jpg


Click Next to go to the Connection tab. Select "Use data source name" and select the DSN that was created when setting up the ODBC connectivity. Input the credentials and check "Allow saving password" if you are not taking the credentials from the credential vault. Select the initial catalog to use. If you have set it up correctly, you should see the schema listing from the database. Once done, click "Test connection" to validate. You should receive a "test connection succeeded" prompt.
 
23937iA96B824604FF44B4.jpg
 

You should now see the connection string established. Replace the word "Data Source" with "DSN" in the connection string. 

 

23938i5634EC010212A305.jpg


The query can now be written to extract the required data set.
Be the first to reply!

Reply