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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T22:58:04+00:00 2026-06-13T22:58:04+00:00

Hello I am trying to connect my c# application I used this code I

  • 0

Hello I am trying to connect my c# application I used this code I found on net but it doest seem to work here is the code

SqlConnection myConnection = new SqlConnection("user id=ayoya;" +
                                   "password=12333;" + 
                                    "server=instance28181.db.xeround.com:18422;" +
                                   "Trusted_Connection=yes;" +
                                   "database=salam;" +
                                   "connection timeout=30;");
        try
        {
            myConnection.Open();

        }
        catch (Exception a)
        {
            Console.WriteLine(a.ToString());
            MessageBox.Show("Failed");
        }

can someone please tell me where I went wrong?

  • 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-13T22:58:05+00:00Added an answer on June 13, 2026 at 10:58 pm

    In general, after connecting to the instance creating a DB (using CREATE DATABASE), you must make sure the following parameters contain the correct arguments:

    Hostname – See DNS Name in the Details tab; port #– appears by the hostname; username & password – the username and password you provided for the DB instance (also appears in Details tab); database – the name of the DB (NOT the instance name) to which you‘re trying to connect.

    Now, more specifically, try the following code to connect your c# application to your xeround DB:

    MySqlConnection con = new
      MySqlConnection("Server=instance28181.db.xeround.com;
      Port=18422;Database=salam;Uid=ayoya;Pwd=1233");
    

    Good luck 😉

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

Sidebar

Related Questions

Hello im trying to echo only the 50 letters, but something in my code
hello i am getting this error when trying to connect to SSL in java
I found a client/server code and I am getting this error: java.net.SocketException: Software caused
I am trying to connect the sql server 2008 with servlet.this is my code.
hello i am trying a sqlite database tutorial to build, but its not working
Hello I am trying to create a custom expandable listview, but the documentation on
Hello I'm trying something .. I was reading Jquery traversing documentations some forums, this
I have experience with C++ but I've never really used Qt before. I'm trying
I am trying to connect to Mercury mail server with a java application and
I'm trying to connect to James server localhost, but I'm getting an exception javax.mail.MessagingException:

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.