Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7037459
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T01:32:52+00:00 2026-05-28T01:32:52+00:00

I have installed the MySQL Server on my VPS Server. Then, I want to

  • 0

I have installed the MySQL Server on my VPS Server. Then, I want to use the Entity Framework in my app. I have downloaded the ADO.NET Connector.

I pass the server URL : http://IP_ADDRESS
and also the login & pass to the MySQL server instance.

enter image description here

When I test the connection, I get the error “Unable to connect to any of the specified MySQL hosts.” Why ?

EDIT

SOLVED

I had to do 3 things:

1) add bind-address=0.0.0.0 to the my.ini (MySQL config file)

2) mysql> create user '___login___'@'%' identified by '___pswd___';

3) grant select, insert, delete on database_name.* to ___login___@'%' identified by '___pswd___';

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T01:32:52+00:00Added an answer on May 28, 2026 at 1:32 am

    First, drop the http:// part you should only provide the IP address here, nothing more.
    Further there are 2 things you can check:

    1) Does the MySQL server allow remote connections, Check the bind-address configuration in your my.cnf. This should be either unconfigured or the Public IP address of your VPS. I believe the default setting here is bind-address = 127.0.0.1 which only allows local connections (you must restart the MySQL server after changing this)

    2) Check if the 3306 port is being blocked by a firewall.

    You can use Telnet to check if the MySQL server can be accessed remotely by using this command: telnet <IP of server> 3306 If you can make a connection you should be able to connect remotely to your database as long as the user you are connecting as is allowed to make remote connections.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the MySQL Connector/NET installed on my PC. I modified the source code
I have installed mySQL using sudo apt-get install mySQL-server then i have installed libmysqlclient15-dev
I have just installed MySQL Community Server and now want to create a database
I've got a locally installed MySQL database server that I want to use for
I'm pulling my hair out with my mysql server. I have wampserver installed, I
I have an ubuntu server with mysql installed, at one point I saw the
I have MySQL running with the ASP Membership Schema I have installed the connector,
I have installed xampp on Windows7(64bit).I want to work with PHP, Apache and MySql.
I have installed MySQL server 5 on redhat linux. I can't login as root
So I want to create a JDBC connection to MySQL server that is installed

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.