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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
stefanberreiter
Frequent Visitor

Data Pipeline fails to authenticate to MySQL database (but Dataflows Gen2 works)

Hello Fabricators,

 

I'm trying to set-up a MySQL connection to load data to a Fabric Lakehouse, also using an On-Premise Data Gateway.

I want to copy data with copy task.

It seems to work with Dataflows Gen2, but I am receiving an error in Data Pipeline (which I prefer over Dataflows Gen2).

 

> Unable to connect to the mysql server, errorMsg: Access denied for user ''@'localhost' (using password: NO) Access denied for user ''@'localhost' (using password: NO) Aktivitäts-ID: da147145-9079-4684-ba23-d2bd7ed9d97d.

 

stefanberreiter_0-1728907762772.png

 

The connection shows it's online.

 

Is there anything I am missing?

 

Best, Stefan

3 REPLIES 3
Anonymous
Not applicable

Hi  @stefanberreiter ,

I think you can try to fix the reported error in the following ways:

 

1. Ensure that the MySQL user credentials are correctly configured in your Data Pipeline settings. The error message indicates that the username and password might not be set correctly.

 

2. Verify that your connection string includes the correct username and password. It should look something like this:

Server=myServerAddress;Database=myDataBase;User Id=myUsername;Password=myPassword;

 

3. Make sure that your On-Premise Data Gateway can communicate with the MySQL server. Check your firewall settings to ensure that the necessary ports are open and that the gateway is allowed to access the MySQL server.

 

4. The main problem with this error is still the Mysql credentials, so I think you can also check your own Mysql credentials or check the credentials issue in the previous step.

 vyilongmsft_0-1728956508553.png

 

 

Best Regards

Yilong Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks for responding.
It seems I set the connection exactly in the way that I did for the Dataflow Gen2 (which works) - so it's not a credential "input" problem.

Also the first step of the set-up process in Data Pipelines works (where I believe the credential is superficially validated), but it then throws the error once retrieving potential tables to ingest.

 

I'm curious, where do you validate the Connection String in Data Pipelines? It should be at least contain **** for username and password right?

I had the same issue but with the online version (didnt put on premise) did you resolve the issue in anyway?

Helpful resources

Announcements
FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

March Fabric Update Carousel

Fabric Monthly Update - March 2026

Check out the March 2026 Fabric update to learn about new features.