Error Message:
An exception has been raised that is likely due to a transient failure. Consider enabling transient error resiliency by adding ‘EnableRetryOnFailure()’ to the ‘UseMySql’ call.
An exception has been raised that is likely due to a transient failure. Consider enabling transient error resiliency by adding ‘EnableRetryOnFailure()’ to the ‘UseMySql’ call.
Solution:
Connection string Add;sslMode=None on it, the code is as follows.
“Default”:’Server=127.0.0.1;port=3306;Database=database;Uid=account;Pwd=password;CharSet=utf8;Allow User Variables=True;sslMode=None;’;
Similar Posts:
- C#: connect to MySQL and prompt SSL connection error [How to Solve]
- [Solved] for user ‘root’ using method ‘mysql_native_password’ failed with message: Reading from the stream has failed
- MySQL database insert into statement with parameters Error
- Solution to the error of MySQL: unrecognized service (CentOS)
- Python Send Email Error: smtplib.SMTPException: SMTP AUTH extension not supported by server
- [Solved] MYSQL ERROR 2059 (HY000): Authentication plugin ‘caching_sha2_password’ cannot be loaded: /usr/lib64/mysql/plugin/caching_sha2_password.so: cannot open shared object file: No such file or directory
- When laravel is uploaded to the server, whoops, looks like something went wrong appears
- Mongodb access control is not enabled for the database
- MySql Host is blocked because of many connection errors; unblock with ‘mysqladmin flush-hosts…
- MySQL Connect Error: Authentication plugin ‘caching_sha2_password’ cannot be loaded