If it is about dll on MQL5 VPS (and if you are talking about MQL5 VPS) so any dll is prohibited on this type of VPS.
According to the rules here:
No DLLs are allowed on a Virtual terminal. There is no physical capacity to use DLLs there.
If a program launched on a Virtual terminal tries to call a function from any DLL, this EX4/EX5 program is immediately stopped due to a critical error. Any DLL calls are forbidden.

- www.mql5.com
I have a weird problem, I have dll import line on my local computer working fine, but the when I setup the same dll on the VPS windows machine the I'm getting "cannot call 'ReadIni', 'MQLMySQL' is not loaded. I have installed the libraries in the
C:\Users\user_name\AppData\Roaming\MetaQuotes\Terminal\INSTALLATIONHASH\MQL5\Libraries directory.
Code
#import "MQLMySQL.dll"
weirdly it's working on my local pc with directory
C:\Program Files\MetaTrader 5\MQL5\Libraries
Local pc: Windows 10 x64
VPS: Windows server 2019 x64
dll: MQLMySQL.dll
The error message on vps: 2022.06.23 15:41:59.070 MYSQLINTER (AUDNZDb,M5) Cannot load 'C:\Users\vpsuser\AppData\Roaming\MetaQuotes\Terminal\6FDE27AB8905AD69A01A421FFD46289B\MQL5\Libraries\MQLMySQL.dll' [126]
Any idea what is causing the dll not load?