Forum Discussion
Data Refresh Failed: mysql doesn't support encrypted connections
- 1 year ago
Yes I found a solution. I have to specify for it to be non-encrypted. I do it by downloading the MySQL ODBC driver to control encryption settings.
I specified the connection string through Power Query itself. Here's the m-query code:
connectionString = "Driver={MySQL ODBC 9.0 Unicode Driver};Server=rm-XXXXX;Database=...;User=...;Option=3;SslMode=DISABLED;",
Source = Odbc.Query(connectionString, "SELECT * FROM table")
Have you found a solution to this? Stuck on exactly the same issue...
Kind regards,
Tom
Yes I found a solution. I have to specify for it to be non-encrypted. I do it by downloading the MySQL ODBC driver to control encryption settings.
I specified the connection string through Power Query itself. Here's the m-query code:
connectionString = "Driver={MySQL ODBC 9.0 Unicode Driver};Server=rm-XXXXX;Database=...;User=...;Option=3;SslMode=DISABLED;",
Source = Odbc.Query(connectionString, "SELECT * FROM table")
- tom_pykes1 year agoRegular Visitor
Thanks for your quick response smallfires0628 !
Works in PBI Desktop.
This implies set-up of a gateway I guess?
Or how do you connect from the service?- smallfires06281 year agoHelper I
I am using cloud connections, so no data gateway needed for that
- tom_pykes1 year agoRegular Visitor
Thanks so much for your replies.
Ok, I see... it's a bit confusing in the settings interface.
Details:
Anyway, don't know if you got the same issue but it asks for credentials and doesn't want to save after I filled them in. Also, it gives the impression of wanting to use an on-premises gateway (grayed out)...What ODBC-version are you working on?
Only difference with your query is the 9.0 vs 9.1 (only one available on Oracle)connectionString = "Driver={MySQL ODBC 9.1 Unicode Driver};Server=my_server;Database=my_db;User=my_user;Option=3;SslMode=DISABLED;", Source = Odbc.Query(connectionString, "SELECT * FROM items")-> works fine in PBI Desktop