I have this error on my server . When 1 people log in and log out and cant log in again pls help
This is the first error:
System.InvalidOperationException: Connection must be valid and open
en MySql.Data.MySqlClient.MySqlCommand.CheckState()
en MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuer y()
en COServer_Project.DataBase.SaveHB(Character Charr) en C:\Downloads\COSP\COServerProject1\COServerProject \DataBase.cs:línea 1170
Second error:
System.InvalidOperationException: Connection must be valid and open
en MySql.Data.MySqlClient.MySqlCommand.CheckState()
en MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuer y()
en COServer_Project.DataBase.ChangeOnlineStatus(Strin g AccName, Byte To) en C:\Downloads\COSP\COServerProject1\COServerProject \DataBase.cs:línea 62
en COServer_Project.Client.Drop() en C:\Downloads\COSP\COServerProject1\COServerProject \Client.cs:línea 7107
that probly means when your server restart it didnt close the connection and it kept it open so i advise you to wait a little bit then start it . or restart ur mysql
No, it means that his connection closed.
Either manually, LOTF made it drop connection because it overstressed it, or it just lost connection (sockets couldn't connect).