.NET Framework 4.7 。Mysql 8.33 MysqlConnector 8.1 。使用Mysql.data.EntityFramework. 8.1
from the stream has failed .---> MySql . Data . MySqlClient . MySqlException : Reading from the stream has failed .---> System . IO . IOException ::848441> System . Data . Entity . Core . EntityException : The underlying provider failed on Open .---> MySql . Data . MySqlClient . MySqlException : Authentication to host '127.0.0.1' for user ' root ' using method ' caching _sha2_ password ' failed with message : Reading
在 System . Net . Sockets . NetworkStream . Read ( Byte [] buffer ,Int32 offset ,Int32 size )
System . Net . Sockets . SocketException :你的主机中的软件中止了一个已建立的连接。
在 System . Net . Sockets . Socket . Receive ( Byte [] buffer ,Int32 offset ,Int32 size , SocketFlags socketFlags )
在 System . Net . Sockets . NetworkStream . Read ( Byte [] buffer ,Int32 offset ,Int32 size )
…内部异常堆栈跟踪的结尾
在 System . Net . FixedSizeReader . ReadPacket ( Byte ] buffer ,Int32 offset ,Int32 count )
在 System . Net . Security ._ SsIStream . StartFrameHeader ( Byte ] buffer ,Int32 offset ,Int32 count , AsyncProtocolRequest asyncRequest )
在 System . Net . Security ._ SsIStream . StartReading ( Byte [] buffer ,Int32 offset ,Int32 count , AsyncProtocolRequest asyncRequest )
在 System . Net . Security . SslStream . Read ( Byte [] buffer ,Int32 offset ,Int32 count )
-﹣引发异常的上一位置中堆栈跟踪的末尾.
在 MySql . Data . MySqlClient . TimedStream .< ReadAsync > d _30.MoveNext()
在 System . Net . Security . SsIStream . ProcessRead ( Byte ] buffer ,Int32 offset ,Int32 count , AsyncProtocolRequest asyncRequest )
在 System . Runtime . CompilerServices . TaskAwaiter . ThrowForNonSuccess ( Task task )
在 MySql . Data . MySqlClient . MySqlStream .< ReadFullyAsync > d _31.MoveNext)
﹣引发异常的上一位置中堆栈跟踪的末尾﹣.-
在 MySql . Data . MySqlClient . TimedStream . Read ( Byte ] buffer ,Int32 offset ,Int32 count )
在 System . Runtime . CompilerServices . TaskAwaiter . HandleNonSuccessAndDebuggerNotification ( Task task )
在 System . Runtime . CompilerServices . TaskAwaiter . ThrowForNonSuccess ( Task task )
在 MySql . Data . MySqlClient . MySqlStream .< LoadPacketAsync > d _32.MoveNext0
在 System . Runtime . CompilerServices . TaskAwaiter . HandleNonSuccessAndDebuggerNotification ( Task task )
---内部异常堆找跟踪的结尾﹣--
在 MySql . Data . MySqllient . MySqlStream .< LoadPacketAsync > d _32.MoveNext0
-﹣引发异常的上一位置中堆栈跟踪的末尾﹣--
在 System . Runtime . CompilerServices . TaskAwaiter . ThrowForNonSuccess ( Task task ◇在 MySql . Data . MySqlClient . MySqlStream .< ReadPacketAsync > d _30.MoveNext()在 System . Runtime . CompilerServices . TaskAwaiter . HandleNonSuccessAndDebuggerNotification ( Task task )
﹣引发异常的上一位置中堆栈跟踪的末尾﹣-
在 System . Runtime . CompilerServices . TaskAwaiter . ThrowForNonSuccess ( Task task )
-﹣引发异常的上一位置中堆栈跟踪的末尾﹣--
在 System . Runtime . CompilerServices . TaskAwaiter . HandleNonSuccessAndDebuggerNotification ( Task task )在 MySql . Data . MySqlClient . NativeDriver .< ReadPacketAsync > d _34.MoveNext0
在 System . Runtime . CompilerServices . TaskAwaiter . ThrowForNonSuccess ( Task task )在 System . Runtime . CompilerServices . TaskAwaiter . HandleNonSuccessAndDebuggerNotification ( Task task )在 MySql . Data . MySqlClient . Authentication . MySqlAuthenticationPlugin .< ReadPacketAsync > d _23.MoveNext()-内部异常堆栈跟踪的结尾﹣…在 MySql . Data . MySqlClient . Authentication . MySqlAuthenticationPlugin . AuthenticationFailed ( MySqlException ex )在 MySql . Data . MySqlClient . Authentication . MySqlAuthenticationPlugin .< ReadPacketAsync > d _23.MoveNext()-﹣引发异常的上一位置中堆栈跟踪的末尾﹣--
在 System . Runtime . CompilerServices . TaskAwaiter . ThrowForNonSuccess ( Task task )
在 System . Runtime . CompilerServices . TaskAwaiter . HandleNonSuccessAndDebuggerNotification ( Task task )在 System . Runtime . CompilerServices . TaskAwaiter . ValidateEnd ( Task task )在 MySql . Data . MySqlClient . Authentication . MySqlAuthenticationPlugin .< AuthenticateAsync > d 21.MoveNext)