How do I connect C# with MySQL

Login to your account - InfinityFree Website URL

(please specify the URL of the site on which you are experiencing the problem)

Unable to connect to any of the specified MySQL hosts Error Message

(please share the FULL error message you see, if applicable)

image
MySqlConnection conn = new MySqlConnection(“Server=sql107.epizy.com;Database=epiz_33897633_mover;Uid=epiz_33897633;”);
I have coppied the password from the site so that should not be a problem.
Other Information

(other information and details relevant to your question)

Hi and welcome to the forum

You did not provide enough information, but I assume that it is about Visual Studio or an application

5 Likes

It is Visual studio sorry.
So its not possible to access the MySQL database on a free account?

As the article mentioned by Oxy says, no, it isn’t possible to access it externally:

4 Likes

Oh okay good to know.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.