Home > Net >  The docker Centos container mysql database applications don't have access to the host machine
The docker Centos container mysql database applications don't have access to the host machine

Time:10-06

Under the Asp.net core webapi application deployed to centos docker, other function is normal, when the database or other remote database access to the host machine error,
Docker container log below:


This issue card for more than a day online for a long time didn't find a solution,

CodePudding user response:

Has nothing to do with connection mysql, you lack of mysql data. DLL, or some of its dependence on the DLL files, please check your file,

CodePudding user response:

reference 1st floor yahle response:
has nothing to do with connection mysql, you lack of mysql. The data. The DLL, or some of its reliance on DLL files, please check your file,

I release file has

CodePudding user response:

Why is there a abnormal image format,,, don't I English level variation?

CodePudding user response:

reference Liu Cai ghost reply: 3/f
why there are abnormal image format,,, don't I English level variation?


CodePudding user response:

In a 64 - bit computer load 32 bit DLL by management, or dynamic load the DLL is not a native DLL, or DLL file is damaged,

CodePudding user response:

Why do you project DLL so little? I after the release of more than 40 3

CodePudding user response:

reference 5 floor Liu Cai ghost reply:
on 64 - bit computer load 32 bit DLL by management, or dynamic load the DLL is not a native DLL, or DLL file is damaged,


How much is this bit

CodePudding user response:

refer to 6th floor q363186 response:
why you project DLL so little? I after the release of more than 40 3

My project is simple

CodePudding user response:

Version of the.net core and mysql DLL call core version is inconsistent, unable to load the mysql DLL

CodePudding user response:

references 9/f, hong YiZhiYuan reply:
.net core version of the core and mysql DLL call version inconsistencies, unable to load the mysql DLL

So how to solve?

CodePudding user response:

Send your pakcage. Json, a look at the reference version of the file,

CodePudding user response:

11 references yahle response:
send your pakcage. Json, a look at the reference file version of

Thank comment this problem by moving the database installation problem can be solved by the docker point in or out on the question of connecting to the database but still don't understand is what went wrong and no further research to the problem and should not connection string IP I and all possible IP tried all not line

CodePudding user response:

DLL version is inconsistent,
Prev:.net
  • Related