Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
yongjelly
New Member

How to connect to data source with ODBC(MariaDB) in data flow creation

Hello folks! 

I'm eager to connect ODBC(MariaDB) . but I confront with issue like below. 

 

Any tips for this issue ?
For just in case I did typo in string, Please kindly check below ODBC connection string.

 

Please save me ... 

 

ODBC Connection String

DRIVER={MariaDB ODBC 3.1 Driver};SERVER=Server IP;PORT=Port;DATABASE=Database namme;

 

Error Message
An exception occurred: The 'Driver' property with value '{MariaDB ODBC 3.1 Driver}' doesn't correspond to an installed ODBC driver. (Session ID: f0ffbd09-c5e4-403e-b972-8b203a01bd0f, Region: us)

 

yongjelly_1-1695279698002.png

 

 

2 REPLIES 2
vs_7
Continued Contributor
Continued Contributor

Hi @yongjelly 
check below steps

The error message you're encountering suggests that the Power Query engine in Power BI is unable to recognize the ODBC driver you specified in your connection string.

1. **Verify ODBC Driver Installation**:
- First, make sure that the MariaDB ODBC driver is correctly installed on the machine where you are running Power BI Desktop. If it's not installed, download and install the MariaDB ODBC driver from the MariaDB website.

2. **Use the Correct Driver Name**:
- Double-check that you are using the correct driver name in your ODBC connection string. The driver name may differ based on the version and installation path. It's a good idea to review the driver's documentation or consult with your database administrator to ensure you are using the correct name.

3. **Data Source Settings**:
- In Power BI Desktop, go to the "Home" tab and click on "Get Data."
- Select "ODBC" from the list of data sources.
- In the "ODBC Data Source" dialog, provide the connection string again, making sure it matches the correct driver name and includes the server, port, and database name.
- Click "OK" to proceed.

4. **ODBC DSN (Optional)**:
- Instead of specifying the connection string directly, consider setting up an ODBC Data Source Name (DSN) for your MariaDB connection. This can simplify the connection process and make it less error-prone.
- To create an ODBC DSN, go to your Windows Control Panel, search for "ODBC," and select "Set up ODBC Data Sources." Then, configure a new DSN for your MariaDB connection, specifying the driver and connection details.

5. **Driver Compatibility**:
- Ensure that the version of the MariaDB ODBC driver you have installed is compatible with your MariaDB server version. Incompatibility between the driver and the server can lead to connection issues.

6. **Restart Power BI**:
- After making any changes or installations, it's a good practice to restart Power BI Desktop to ensure that the newly installed driver is recognized.

7. **Firewall and Network Settings**:
- Make sure that there are no firewall or network restrictions preventing Power BI from accessing the MariaDB server. Check that the server IP and port are reachable from your machine.

If you've followed these steps and are still encountering issues, consider reaching out to your database administrator or MariaDB support for further assistance, as the problem might be related to server configuration or specific driver compatibility issues.

Hi @vs_7 

Great thanks to your quick response.

 

I checked step1 to 6 one by one again.. it would be relate my network .

And also I've already use ODBC connector through Desktop version... It proves at least step1 to 5. 

 

Any chance is there any possibilty relate with on-premise gateway or other? ? 

Once again, Thank you so much.

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors