Results 1 to 10 of 10

Thread: Writing to and reading from MySql databases

  1. #1

    Thread Starter
    Member
    Join Date
    Dec 2004
    Posts
    49

    Writing to and reading from MySql databases

    Well I have a game coded already and it works perfectly. I want to add a login before it starts and I have a few of the variables to be able to be sent to a MySql server on my webspace, so that next time that user logs in, their variables will be automatically loaded.

  2. #2
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Writing to and reading from MySql databases

    chiefs_10,

    So, exactly what is your question. If it is about connections, look here under Multi Database Control

  3. #3

    Thread Starter
    Member
    Join Date
    Dec 2004
    Posts
    49

    Re: Writing to and reading from MySql databases

    How do you find out what to put where it asks for Data Source?

  4. #4
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Writing to and reading from MySql databases

    chiefs_10,

    Look here http://www.connectionstrings.com/

  5. #5

    Thread Starter
    Member
    Join Date
    Dec 2004
    Posts
    49

    Re: Writing to and reading from MySql databases

    Thank you, but I've been there. Where do I find what to put in place of server?
    Code:
    "Data Source=?server?;Database=enorth_rb;User ID=enorth_rock;Password=band;Command Logging=false"

  6. #6
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Writing to and reading from MySql databases

    chiefs_10,

    If there is no server then use localhost, if there is a server then put the server name or ip address.
    Last edited by randem; Apr 10th, 2005 at 01:02 PM.

  7. #7

    Thread Starter
    Member
    Join Date
    Dec 2004
    Posts
    49

    Re: Writing to and reading from MySql databases

    What IP address and port, where do I find it?

  8. #8
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Writing to and reading from MySql databases

    chiefs_10,

    From your admin.

  9. #9

    Thread Starter
    Member
    Join Date
    Dec 2004
    Posts
    49

    Re: Writing to and reading from MySql databases

    Can you tell by looking at this? I really need to get this done, everything seems to just confuse me though.

  10. #10
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Writing to and reading from MySql databases

    The only server addresss I see are 66.98.148.43 and a remote address of 24.94.84.64. you could try the default mySQL port address of 3306.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width