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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
sdenter
New Member

On Premises Date Gateway Max connections error on MySQL

Hello everybody,

 

I'm having problems with our On Premises Date Gateway.

I have three data sources, two MySQL databases and one MSSQL database, the MySQL databases are on different servers.

One MySQL database and the MSSQL database work, but the second MySQL database connection is not working.

 

When adding the data sources, the message "Connection successful!", but when I perform an update I get errors.

Fehler1.PNGFehler2.PNG

 

On the MySQL database, the value of Max Connections is 49 and the limit is 151, it can not be.

When I execute "FLUSH HOSTS" I can re-enter the login data for the data queues, but the same errors occur when I run again.

 

On the server where the gateway is installed I have the MySQL Connector / NET 8.0.13 installed.

 

Is such an error known to you?  If you need more information just let me know.

 

Many Thanks and best regards

Steffen

1 ACCEPTED SOLUTION
v-yuezhe-msft
Employee
Employee

@sdenter,

Please schedule a job to run the mysqladmin flush-hosts command from the MySQL administration shell.Or increase the max_connect_errors variable for your MySQL instance if the error still occurs.

There is a discussion in the following similar thread.
https://community.powerbi.com/t5/Desktop/DataSource-Error-MySQL-Host-is-blocked-because-of-many/td-p...

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
sdenter
New Member

I could solve the problem, I looked at the wrong variable.

I looked at max connections, but it's max_connect_errors.

v-yuezhe-msft
Employee
Employee

@sdenter,

Please schedule a job to run the mysqladmin flush-hosts command from the MySQL administration shell.Or increase the max_connect_errors variable for your MySQL instance if the error still occurs.

There is a discussion in the following similar thread.
https://community.powerbi.com/t5/Desktop/DataSource-Error-MySQL-Host-is-blocked-because-of-many/td-p...

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors
Top Kudoed Authors