Can anyone help me out regarding how to connect Cloud SQL second generation 
instances to my Dotnet application hosted on App engine flex.
The dotnet application hosted on app engine flex and the cloud sql instance 
are in different projects (but the same region).

I keep getting the following error-

["Source: MySql.Data Message:Reading from the stream has failed. 
InnerException:System.IO.EndOfStreamException: Attempted to read past the end 
of the stream.\n   at MySql.Data.MySqlClient.MySqlStream.ReadFully(Stream 
stream, Byte[] buffer, Int32 offset, Int32 count)\n   at 
MySql.Data.MySqlClient.MySqlStream.LoadPacket() StackTrace   at 
MySql.Data.MySqlClient.MySqlStream.LoadPacket()\n   at 
MySql.Data.MySqlClient.MySqlStream.ReadPacket()\n   at 
MySql.Data.MySqlClient.NativeDriver.Open()\n   at 
MySql.Data.MySqlClient.Driver.Open()\n   at 
MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings)\n   
at MySql.Data.MySqlClient.MySqlPool.CreateNewPooledConnection()\n   at 
MySql.Data.MySqlClient.MySqlPool.GetPooledConnection()\n   at 
MySql.Data.MySqlClient.MySqlPool.TryToGetDriver()\n   at 
MySql.Data.MySqlClient.MySqlPool.GetConnection()\n   at 
MySql.Data.MySqlClient.MySqlConnection.Open()\n   at 
WhirlpooolP4P.Controllers.ValuesController.Get() in E:\\Team 
Computer\\Projects\\WhirlPool\\P4P 
WebAPI\\WhirlpooolP4P\\WhirlpooolP4P\\Controllers\\ValuesController.cs:line 43"]

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/81fcdb9a-22e3-413c-9bf3-0065e355b28e%40googlegroups.com.
  • [google-appengine]... 'Amitesh Chawla' via Google App Engine

Reply via email to