please help with weird code

01/04/2023 02:16 brockley1#1
So i recently got a vps so i can open a server and host it from this vps but when i open login server program this error message pops up... can some one explain what this is?

MySql.Data.MySqlClient.MySqlException (0x80004005): Authentication to host 'localhost' for user 'root' using method 'mysql_native_password' failed with message: Access denied for user 'root'@'localhost' (using password: YES) ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Access denied for user 'root'@'localhost' (using password: YES)
at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
at MySql.Data.MySqlClient.Authentication.MySqlAuthent icationPlugin.ReadPacket()
at MySql.Data.MySqlClient.Authentication.MySqlAuthent icationPlugin.AuthenticationFailed(Exception ex)
at MySql.Data.MySqlClient.Authentication.MySqlAuthent icationPlugin.ReadPacket()
at MySql.Data.MySqlClient.Authentication.MySqlAuthent icationPlugin.Authenticate(Boolean reset)
at MySql.Data.MySqlClient.NativeDriver.Authenticate(S tring authMethod, Boolean reset)
at MySql.Data.MySqlClient.NativeDriver.Open()
at MySql.Data.MySqlClient.Driver.Open()
at MySql.Data.MySqlClient.Driver.Create(MySqlConnecti onStringBuilder settings)
at MySql.Data.MySqlClient.MySqlPool.CreateNewPooledCo nnection()
at MySql.Data.MySqlClient.MySqlPool.GetPooledConnecti on()
at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver()
at MySql.Data.MySqlClient.MySqlPool.GetConnection()
at MySql.Data.MySqlClient.MySqlConnection.Open()
at NewestCOServer.MySQL.MySqlReader.TryFill(MySqlComm and command) in C:\Users\Administrator\Desktop\EpicSource\Mysql\my sql ready.cs:line 81
at NewestCOServer.MySQL.MySqlReader..ctor(MySqlComman d command) in C:\Users\Administrator\Desktop\EpicSource\Mysql\my sql ready.cs:line 20
at NewestCOServer.CityWar.Load() in C:\Users\Administrator\Desktop\EpicSource\CityWar. cs:line 17
at NewestCOServer.Program.Main(String[] args) in C:\Users\Administrator\Desktop\EpicSource\Program. cs:line 440
01/04/2023 02:48 Spirited#2
Not weird at all, just use Google. That's the most common error for MySQL.
01/04/2023 04:39 brockley1#3
so i asked if some one would help me with it seeing how i am new to this.... your saying to use google is that was the case i would have done it...which i have so if u cant help why comment with the processes you offer? get off my post if you cant help.
01/04/2023 07:41 Spirited#4
Quote:
Originally Posted by brockley1 View Post
so i asked if some one would help me with it seeing how i am new to this.... your saying to use google is that was the case i would have done it...which i have so if u cant help why comment with the processes you offer? get off my post if you cant help.
If you can't diagnose that error, then you should consider supporting an existing server. I got that same error when I had no programming experience at all, and I figured it out just from the message. So yeah, I'm not going to help you read plain English. It's right in front of you or one Google Search away. You need to learn how to help yourself by doing your own research; else, who's going to support your every need? Are we gonna have to diagnose every issue for you?

Here, a hint. You only care about the first line of that exception:
Quote:
MySql.Data.MySqlClient.MySqlException (0x80004005): Authentication to host 'localhost' for user 'root' using method 'mysql_native_password' failed with message: Access denied for user 'root'@'localhost' (using password: YES)
02/08/2023 05:06 Mr.Rayzo#5
Type your data correctly, such as the IP address, password, and the base name