First off, thanks a ton for all the great replies to my
previous post on databases and such. They really helped, and I think that I am on my way!
Now, here is a good question that I am really hoping one of my fellow monks can answer for me. Here is my dillema: I installed PostgreSQL (I know, I'll get flamed by some MySQL pyscho, but let me tell you I tried MySQL first, but it wouldn't install! Equal opprotunity to all, I swear!), but I installed it on a different server than the one my
page is hosted on. The reason I opted to do this is two fold: first, I heard that it was possible (even recommended) to have your database and web servers seperate; and second, the server my page is hosted on is an old Cobalt RaQ2 which is pretty slow and running out of memory. The machine I installed PGSQL on is much faster - my reason.
My Dillema: How in the golly-gosh-darn-heck do I connect to server_1 (the PGSQL) server from a CGI script running on server_2 (my sites server) with DBI? Oh please, please, honorable ones, assist me in my quest to find the holy grail of perl knowledge! Ok, maybe not the grail, but atleast this little paper cup painted gold :-).
Thanks a ton to all!
R.Joseph
P.S. If it helps any, I don't believe that the two servers are directly networked, and even though housed in the same complex should be viewed as two entirely seperate servers.