+ Reply to Thread
Results 1 to 4 of 4
Like Tree2Likes
  • 1 Post By gav_nair71
  • 1 Post By bdistler

Thread: How to connect to MySql Database

  1. #1
    gav_nair71 is offline x10Hosting Member gav_nair71 is an unknown quantity at this point
    Join Date
    May 2011
    Posts
    1

    Exclamation How to connect to MySql Database

    Help! HELP! help! HeLp!



    I am on starka server I have created an application which uses my database at words-with-flesh.x10.mx on that server. I am going to connect to it with MySQL ODBC Driver 5.1. What should I put in the server variable.

    The connection string is as follows:
    DRIVER={MySQL ODBC 5.1 Driver}; SERVER=?????; DATABASE=mydb; UID=myUID;PASSWORD=mypwd; OPTION=3

    If there is any other problem with the above please post here.

    ThanX a lot for your time
    dinomirt96 likes this.

  2. #2
    misson is offline x10 Spammer misson is a jewel in the rough
    Join Date
    Mar 2008
    Location
    Libertatia
    Posts
    2,506

    Re: How to connect to MySql Database

    Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.
    Misson, not Mission.

  3. #3
    bdistler's Avatar
    bdistler is offline x10 Lieutenant bdistler is an unknown quantity at this point
    Join Date
    May 2010
    Location
    Catalina AZ USA
    Posts
    349

    Re: How to connect to MySql Database

    Free hosting accounts do not have remote MySQL access.

    with that said

    see ==> http://x10hosting.com/wiki/How_to_Cr...abase_and_User

    and ==> http://x10hosting.com/wiki/MySQL_Information
    karimirt47 likes this.

  4. #4
    steven27 is offline x10Hosting Member steven27 is an unknown quantity at this point
    Join Date
    Apr 2011
    Location
    NYC. NY
    Posts
    2

    Re: How to connect to MySql Database

    Assuming your application will be hosted on the server then Server=localhost.

+ Reply to Thread

Similar Threads

  1. Replies: 2
    Last Post: 12-01-2010, 09:01 PM
  2. Replies: 1
    Last Post: 06-26-2010, 11:08 AM
  3. Replies: 3
    Last Post: 05-22-2010, 07:04 AM
  4. Replies: 4
    Last Post: 01-07-2010, 09:16 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers