Jump to content

[MySQL] Issue with Database


LT.Steiner

Recommended Posts

Hello RAGE MP Community,

I have an issue with my Database, after sending data from Client-side to Server-side I want to insert all data I got from Client-side into database that I made all tables and fields exactly.

 

Console Error:

Could not load file or assembly 'Renci.SshNet, Version=2016.1.0.0, Culture=neutral, PublicKeyToken=1cee9f8bde3db106'. The system cannot find the file specified.
Could not load file or assembly 'System.Drawing.Common, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
Could not load file or assembly 'System.Drawing.Common, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
Could not load file or assembly 'System.Drawing.Common, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.

 

Error in IDE:

https://imgur.com/0L7aptu

 

 

How can I solve this?

Link to comment
Share on other sites

it is not a compiling issue so yea, just replace the dll files from your build folder to the runtime folder.

rage is loading in all the references from /runtime and if you add new deps or change their version, you have to move them from build to runtime to update them.

Link to comment
Share on other sites

Hello again,

Special thank to you @Division

 

some of errors gone and still there is a weird error on console and IDE, it's Renci.SshNet.dll, I referenced that file in my IDE and dropped one copy of it in Runtime folder, there are my pictures.

Quote

public static string Portal = "SERVER=localhost;DATABASE=mydb;UID=root;PASSWORD=Mmd123!@#$%";

Error in IDE

https://imgur.com/387MwBI

 

Referenced in IDE

https://imgur.com/vJgMmP0

 

One copy of the dll file in runtime

https://imgur.com/eD5TKQ3

 

I don't know what should I do anymore, is there any way to use??? or what's another solution??! 😢

HELP

Edited by LT.Steiner
Link to comment
Share on other sites

Especially thank to @Kopra

 

I switched my library to MySqlConnector and it's new error, any body knows how to solve issue?

 

IDE Error

https://imgur.com/NgxdnQC

 

 

Console Error:

Could not load file or assembly 'H:\server-files\dotnet\resources\Project\bin\Debug\netcoreapp3.1\MySqlConnector.dll'. The system cannot find the file specified.
Could not load file or assembly 'MySqlConnector, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d33d3e53aa5f8c92'. The system cannot find the file specified.

 

I googled for Physical file to download and place it into directory that required, but no result, anybody have the file?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...