This article is a mirror article of machine translation, please click here to jump to the original article.

View: 111456|Reply: 10

[Source] SSIS Tutorial (3) Add a MySQL data source

[Copy link]
Posted on 8/1/2020 9:16:09 PM | | | |
SSIS Tutorial 1 Introduction to SQL Server Integration Services
https://www.itsvse.com/thread-9257-1-1.html

SSIS Tutorial (2) Visual Studio 2019 (VS2019) Install SSIS
https://www.itsvse.com/thread-9331-1-1.html

Connecting to MySQL from SSIS, SQL Server Integration Services does not have its own component to connect to the mysql source by default, and we need to install it ourselves.

Both ways: both using ODBC and ADO.NET drivers can connect to the mysql database and both work fine.

Because it is relatively simple to connect to MySQL data sources using ADO.NET, this article uses the ADO.NET method.

First, download the mysql .net connection driver, download the address:
Tourists, if you want to see the hidden content of this post, pleaseReply


Once the download is complete, install it, then reopen the SSIS project with VS 2019 and right-click "New ADO.NET Connection", as shown below:



Select the MySQL Data Provider driver, as shown in the following figure:



Fill in the mysql configuration, the main settings:server、user id、port、persistsecurityinfo、database、passwordThese parameters are sufficient.

The Persist Security Info attribute means whether to save security information, which can be simply understood as "whether ADO saves password information after a successful database connection".

True means to save, False means not to save


We need to set it uppersistsecurityinfo is true。 Click Test Connection, as shown below:



The value after the parameter talk is:


Try adding the ADO NET source, database access settings SQL command, fill in the following script:
Click Preview to find that you can successfully query MySQL data, as shown in the following figure:



Resources:

Tourists, if you want to see the hidden content of this post, pleaseReply


(End)




Previous:Database Access Methods (ODBC OLEDB ADO ADO.NET)
Next:SSIS Tutorial (5) Executing SSIS Packages with DTEXEC
Posted on 10/2/2020 6:45:11 PM |
Not bad, not bad...
Posted on 7/20/2021 2:56:49 PM |
Can you tell me the version of mysql, thank you!
 Landlord| Posted on 7/20/2021 3:49:29 PM |
Qiankun smiled on 2021-7-20 14:56
Can you tell me the version of mysql, thank you!

mysql> select version();
+-----------+
| version() |
+-----------+
| 5.6.21    |
+-----------+
1 row in set (0.00 sec)
Posted on 8/18/2021 5:39:35 PM |
Let me come to Kangkang
Posted on 8/23/2021 1:57:13 PM |
Davindawdawd
Posted on 9/3/2021 5:32:05 PM |
Come in and learn
Posted on 3/18/2022 1:52:10 PM |
Bloggers take a look at the download driver
Posted on 6/23/2022 8:43:13 AM |
Just used, thank you for sharing
Posted on 10/21/2023 4:44:15 PM |
Looking for this resource, thank you very much
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com