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 8173947
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T22:19:35+00:00 2026-06-06T22:19:35+00:00

I got mysql database in the phpmyadmin, and i try to connect to the

  • 0

I got mysql database in the phpmyadmin, and i try to connect to the database from my application.

My connection string is:

Server=12.919.18.12;Port=3306;Database=hbd;Uid=hb;Pwd=123;

An exception occurs:

"Unable to connect to any of the specified MySQL hosts."

Do I need to install mysql or something?

(I just imported MySql.Data.dll and tryied it. Is there anything I have forgotten? I checked the ip pinging my website).

  • 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-06-06T22:19:36+00:00Added an answer on June 6, 2026 at 10:19 pm

    Connection strings for MySQL
    is pretty helpful in terms of connection strings. Your connection
    string seems to be invalid.

    You may check mysql server is working or not and you can add port number of mysql in connection string like this

    “Server=myServerAddress;Port=1234;Database=myDataBase;Uid=myUsername;Pwd=myPassword;”


    Other reason MySql might be configured to listen to only the local host.

    Follow the following links for more information:
    Enabling MySQL Remote Access – MySQL connection only works from local machine
    Unable to connect to any of the specified MySQL hosts.

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

Sidebar

Related Questions

Hello I try to connect F# and MySQL database, but i got fallowing error
I've got an android application that is supposed to read a mysql database from
I've got a php file echoing hashes from a MySQL database. This is necessary
if've got three tables in my MYSQL Database and want to connect two of
i tried retrieved data from mysql database using soap websevices in android.but i got
I've got this form, initialized from the data in a Mysql database entry. If
I've got a PHP MySQL query to grab featured products from a MySQL database,
I've got poll results stored in a mysql database. I try to output the
There is a html table which data are from a MySql database , got
ive got this script that echos the information from a mysql database. now it

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.