How do I use Mysql in a common form?

Asked

Viewed 58 times

0

I’m having trouble using a Mysql database I have on a host (Bluehost) in a C#application, I would like to view the tables in an application but I can’t connect to DB , I already installed the Nector , only the following message appears

Unable to connect to any of the specified mysql hosts

How should I proceed?

  • 1

    You’ll need to give a little more information expensive... Have you checked the connection string? Tried connecting with a database manager?

  • 1

    Do you have any code from your application that you can ask in your question?

1 answer

-1

The question is a little vague, but by the message possibly the host in the string Connection is wrong.

Or even the database port may be different from the standard (standard port 3306) and some hosts exchange this port or also limit the database access to specific ips.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.