MySQL Forums
Forum List  »  General

MySql.Data.MySqlClient.MySqlException: Timeout expired
Posted by: K B
Date: July 08, 2019 01:34AM

I have a win service that uses a mysql database. the service periodically reads data from the mysql database. We also make automatic backups of the database every night. It appears that if the service wants to read data from the database during the automatic backup, there is this error:
"MySql.Data.MySqlClient.MySqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding '.
I tried to fix this by increasing 'default command timeout' => 'default command timeout = 5000', but that doesn't help.

Is there any to solve this in mysql?

Thanks in advance,

Options: ReplyQuote

Written By
MySql.Data.MySqlClient.MySqlException: Timeout expired
July 08, 2019 01:34AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.