Results 1 to 8 of 8

Thread: my database.. T_T

  1. #1

    Thread Starter
    Member
    Join Date
    Mar 2007
    Posts
    54

    my database.. T_T

    im confuse on this one? i have a program.. its a LAN based program.. the databse is found on the servers terminal.. ive shared the folder havin dat database..

    my teacher told me dat though i change the ip address.. still.. the program can connect to its database..

    i change the ip add.. den it cannot connect.. what shall i do?

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: my database.. T_T

    What kind of database is it?

    This would only work if both IP address pointed to the same place.

  3. #3

    Thread Starter
    Member
    Join Date
    Mar 2007
    Posts
    54

    Re: my database.. T_T

    i used microsoft access as my database..

    my teacher told me dat even if i change the IP add.. it can still connect to the database..

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: my database.. T_T

    Quote Originally Posted by GuReiSu
    my teacher told me dat even if i change the IP add.. it can still connect to the database..
    Well, sure you can still connect to it, but you would have to change your connection string to reflect the new IP address.

    If something was at 1.1.1.1.0 and you move it to 2.2.2.2.0, and don't change your connection string code, then it is still going to look for it at the first address, not find it, and bomb out.

  5. #5

    Thread Starter
    Member
    Join Date
    Mar 2007
    Posts
    54

    Re: my database.. T_T

    Hmm.. when you shared a folder in a network?! the computer name appears on it right?! i juzt copy dat path for the connection string..

  6. #6
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: my database.. T_T

    So what is the connection string that you are using?

    Is it like: \\1.2.3.4.5\foldername ?

  7. #7

    Thread Starter
    Member
    Join Date
    Mar 2007
    Posts
    54

    Re: my database.. T_T

    yes.. dats it..

  8. #8
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: my database.. T_T

    If thats is, and you move the database to a different IP, then you would have no alternative but to update your connection string with that IP, pure, plain, and simple.

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