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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
pbadion
New Member

Unable to connect MySQL Authentication with old password no longer supported

Hi,

 

I am new to Power BI and i need to connect to an old MySQL database to produce reports.

 

Here is the error

 

Unable to connect

We encountered an error while trying to connect.

Details: "MySQL: Authentication with old password no longer supported; use 4.1 style passwords."

 

I don't know how to proceed.

Should I change the MySQL database installation ? Is this advisable?

Should I find a workaround to use a different MySQL Connector? 

I tried to uninstall every MySQL related application in my computer and the error persists.

 

I appreciate any help.

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @pbadion,

 

I think the issue is more related to mysql, you can refer to below link to modify your password:

Authentication with old password no longer supported, use 4.1 style passwords.

 

Regards,

Xiaoxin Sheng

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @pbadion,

 

I think the issue is more related to mysql, you can refer to below link to modify your password:

Authentication with old password no longer supported, use 4.1 style passwords.

 

Regards,

Xiaoxin Sheng

I got it working by setting the global variable of MySQL secure_auth to ON.

I ran this command using the root login in MySQL.

     set global secure_auth = ON;

 

Thanks for the help.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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