如果是Mysql,server要用127.0.0.1.
不然会报两个错:
1.An error occurred using the connection to database ‘’ on server ‘.’.
2.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 error occurred using the connection to database ‘‘ on server ‘.‘.
最新推荐文章于 2024-04-09 16:35:16 发布