N1K003

dotnet ef database update error

Nov 1st, 2016
184
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. dotnet : System.TimeoutException: Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after
  2. a period of time, or established connection failed because connected host has failed to respond. ---> System.IO.IOException: Unable to read data from the transport connecti
  3. on: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has fai
  4. led to respond. ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or establi
  5. shed connection failed because connected host has failed to respond
  6. At line:1 char:1
  7. + dotnet ef database update
  8. + ~~~~~~~~~~~~~~~~~~~~~~~~~
  9. + CategoryInfo : NotSpecified: (System.TimeoutE...iled to respond:String) [], RemoteException
  10. + FullyQualifiedErrorId : NativeCommandError
  11.  
  12. at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
  13. at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
  14.  
  15. --- End of inner exception stack trace ---
  16. at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
  17. at MySql.Data.Common.MyNetworkStream.Read(Byte[] buffer, Int32 offset, Int32 count)
  18. --- End of inner exception stack trace ---
  19. at MySql.Data.Common.MyNetworkStream.Read(Byte[] buffer, Int32 offset, Int32 count)
  20.  
  21. at MySql.Data.MySqlClient.TimedStream.Read(Byte[] buffer, Int32 offset, Int32 count)
  22.  
  23. at MySql.Data.Common.BufferedStream.Read(Byte[] buffer, Int32 offset, Int32 count)
  24.  
  25.  
  26. at MySql.Data.MySqlClient.MySqlStream.ReadFully(Stream stream, Byte[] buffer, Int32 offset, Int32 count)
  27.  
  28.  
  29. at MySql.Data.MySqlClient.MySqlStream.LoadPacket()
  30.  
  31. at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
  32.  
  33. at MySql.Data.MySqlClient.NativeDriver.Open()
  34.  
  35. at MySql.Data.MySqlClient.Driver.Open()
  36.  
  37. at MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings)
  38.  
  39. at MySql.Data.MySqlClient.MySqlPool.CreateNewPooledConnection()
  40. at MySql.Data.MySqlClient.MySqlPool.GetPooledConnection()
  41.  
  42. at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver()
  43.  
  44. at MySql.Data.MySqlClient.MySqlPool.GetConnection()
  45.  
  46. at MySql.Data.MySqlClient.MySqlConnection.Open()
  47.  
  48. at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open()
  49.  
  50. at MySQL.Data.Entity.MySQLDatabaseCreator.Exists()
  51.  
  52. at Microsoft.EntityFrameworkCore.Migrations.HistoryRepository.Exists()
  53.  
  54.  
  55. at Microsoft.EntityFrameworkCore.Migrations.Internal.Migrator.Migrate(String targetMigration)
  56.  
  57. at Microsoft.EntityFrameworkCore.Design.Internal.MigrationsOperations.UpdateDatabase(String targetMigration, String contextType)
  58.  
  59. at Microsoft.EntityFrameworkCore.Design.OperationExecutor.UpdateDatabase.<>c__DisplayClass0_1.<.ctor>b__0()
  60. at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.Execute(Action action)
  61.  
  62. Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established c
  63. onnection failed because connected host has failed to respond.
RAW Paste Data