Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi all,
I'm trying tot establish a connection to a MySQL database. Both PBI and MySQL are installed on the local machine.
Upon connection to the database, I get an error mentioning a missing system variable named 'lower_case_table_names'.
Research points me towards the MySQL version.
I still have to use an outdated MySQL instance due to software incompatibility.
Can someone please share ideas on how to connect to a MySQL version 5.0?
Then you must have a rather old version of MySQL ?
Thank you!
I had tried those, but they didn't even connect to my base.
I just found the one that does... It's 8.0.13 in my case.
Best regards
Gaston
Hello dears,
Has anyone had any luck fixing the 'lower_case_table_names' system variable problem?
I was connecting to the database without problems for almost 2 years, and suddenly I started having this problem.
I've tried several versions of the .NET connector but can't find the solution.
We look forward to your comments.
Thank you very much in advance.
Gaston
8.0.28 is a known good version. 8.0.30 and 8.0.31 might work as well.
here's an intriguing workaround
https://docs.microsoft.com/en-us/power-query/connectors/mysqldatabase
I couldn't find any point about the minimum version but I would think that the MySQL Community Installer (currently version 8.0.21) would allow you to connect to your legacy database as well?
Hi Ibendlin,
Thanks for your reply.
I'll give the SQL Native Client a try.
What I can confirm, is that the MySQL Community Installer 8.0.21 is not working at all.
I've tried several versions, not one is working.
I've analyzed the returned error message using WireShark, and I was able to get some more information.
Apparently, at some point, MySQL has altered their routine to authenticate against the database, which is causing this connection to fail. My guess is that the MySQL Community Installers only use the new method, and the old authentication method (as used by MySQL 5.0 and below) is ignored.
Good afternoon DIMBACKA.
I hope you are well.
Did you manage to connect your data in the end?
I am also facing the same error mentioning a missing system variable named 'lower_case_table_names'. (MySQL V5.0 User as well)
Hi LukeJWest24,
Unfortunately not, at least not with a direct connection.
I ended up using an ODBC connection, which eventually gets the data into Power BI, but I must say this is not the ideal situation.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
90 | |
88 | |
83 | |
64 | |
49 |
User | Count |
---|---|
127 | |
108 | |
87 | |
70 | |
66 |