Studio Database Gateway Error IWS 2020

Hello everyone,

I carried out a license update, from IWS 8.0 SP2 to IWS 2020 SP0.

The SCADA project needs to read data from a mySQL database every 6 seconds. It performs the data readout 2 to 4 times, and then suddenly the following error message appears: "Database: Error: Time out to receive answer from Studio Database Gateway".

It connects to the database through the connection string: "Provider=MYSQLClient;Server=xxx.xxx.xxx.xxx;Uid=db_admin;Pwd=xxxxxx;Database=my_database;".

In the Studio Database Gateway log window, the following message appears:

The project under IWS 8.0 SP2 version had been working flawlessly for years.

When I start the project with IWS 8.0, it works without any errors. This has led me to rule out any issues with the database or its accessibility...

Where should I look for the error?

Thank you in advance for your help!