如果是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.