|
-
Sep 15th, 2007, 10:39 AM
#1
Thread Starter
Member
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?
-
Sep 17th, 2007, 11:12 AM
#2
Re: my database.. T_T
What kind of database is it?
This would only work if both IP address pointed to the same place.
-
Sep 18th, 2007, 02:43 AM
#3
Thread Starter
Member
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..
-
Sep 18th, 2007, 06:06 AM
#4
Re: my database.. T_T
 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.
-
Sep 18th, 2007, 06:36 AM
#5
Thread Starter
Member
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..
-
Sep 18th, 2007, 07:23 AM
#6
Re: my database.. T_T
So what is the connection string that you are using?
Is it like: \\1.2.3.4.5\foldername ?
-
Sep 18th, 2007, 07:25 AM
#7
Thread Starter
Member
-
Sep 18th, 2007, 07:30 AM
#8
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|