I am working in C # through MySQL.Data.dll. Usually everything works fine, but sometimes the message "Unable to connect to any of the specified MySQL nodes" appears. What is this mistake and how to get rid of it?
You can check if mysql server is working or not, and you can add mysql port number in the connection string, for example
"Server = myServerAddress; Port = 1234; Database = myDataBase; Uid = myUsername; Pwd = myPassword;"
Can you connect to MySql Host through MySql Workbench?
Using the same connection parameters in the application, do you get the same error?
Have you set up a user account, access, schema, and roles?
, , - 3306, , 'my.ini' .
MySQL HostGator 3306 . , web.config .
<system.web> <trust level="Full" /> </system.web>
Source: https://habr.com/ru/post/1784675/More articles:Наследование С# виртуальное или переопределение - c#how to block text selection without entering a text field and select elements - javascript80x86 Assembly - очень простая конвертация программ ввода-вывода в Linux из Windows - assembly2D array assembly - assemblyCustom jquery element - javascriptCreating a Runtime Class in Rails. How should I handle this? - ruby | fooobar.comWhy can't I access this member of a class in python? - pythonQt: C ++ dynamic parameter GUI for plugin parameters - c ++How to convert a Javascript string to an array? - javascriptSecure encryption for short strings in PHP and Java - javaAll Articles