Page 1 of 1

newbie database question

Posted: Tue Feb 14, 2006 9:59 pm
by scotch33
hi - I have never done this before

i am trying to set up a copy of this on my website but i want the database running off another website where i have a lot more room for it - what should i put in the dabase location in the install - the ip address followed by localhost (eg 22.222.222.22/localhost) or is it another syntax?

thanks

Re: newbie database question

Posted: Wed Feb 15, 2006 12:12 pm
by Ted
Well, normally you would use just the IP.  However, there are 2 problems with this approach.

1. Database access usually isn't open to the internet.  Databases generally only listen to the internal network or even just connections from the same machine.
2. Even if it is open, it's going to be SLOW.  Pages have an average to 10-20 queries.  You would be passing each of them over the open internet.