19th May 04, 02:47 AM
|
New Member
|
|
Join Date: May 2004
Posts: 2
|
|
hey guys, i was wondering, me and a buddy of mine have 2 mirros for Gamers on Demand club.. how would we mirror a php board and a website (both use 1 mysql database) my question is how can we updateboth at the same time with out having to really phyisically update them both? (update one and both are updated..) anyways thanks i really didn't know where to post this, i found offtopic and thought why not :-P.
-Xpgamer aka 13yearoldkilla
|
|
19th May 04, 03:00 AM
|
|
Administrator
|
|
Join Date: Nov 2001
Posts: 2,996
|
|
Welcome to BetaONE, hope you stick around
I'm going to move this to our web development area, it may get a better response
|
|
19th May 04, 03:21 AM
|
M.I.A.
|
|
Join Date: Sep 2001
Location: Near Newcastle, UK
Posts: 1,077
|
|
It's difficult to do mirroring/load balancing on pages with dynamic content, unless the board software you are using is specifically designed to support it.
You would have to host the MySQL database on only one server, and get both copies of your forum to connect to the same DB.
__________________
[img]http://celltrack.spv-developers.com/render/Zone-MR.png[/img]
[url="http://future.betaone.net/forum/links.php?url=http://future.betaone.net/forum/links.php?url=http://zone-mr.net"]http://zone-mr.net[/url] - Transcribing Life
|
|
19th May 04, 08:58 AM
|
eh!!
|
|
Join Date: Jul 2001
Location: BC, Canada
Posts: 1,449
|
|
You could try an rss feed type of system. One central server, shows to you, but hidden to the public and is where your content is posted to start.
After you post the content, the rss feed publishes the updated material on as many mirrors as your throw at it. Though I think that is what Zone is getting at, and I'm a little slow on the jump here.
Welcome to B1. By your sn your a gamer. Max Payne? 1 and/or 2?
|
|
19th May 04, 03:09 PM
|
New Member
|
|
Join Date: May 2004
Posts: 1
|
|
try changing the "include config.php" bit (change config.php to ur configuration file) to http://your.address.here/your_board/config.php
i havent ever done it, but it should work.
or, you could externally connect to the sql database, but i dunno how; sorry. try the MySQL homepage; www.mysql.org
Prism128
|
|
19th May 04, 03:39 PM
|
M.I.A.
|
|
Join Date: Sep 2001
Location: Near Newcastle, UK
Posts: 1,077
|
|
Originally posted by Prism128@May 19 2004, 02:09 PM
try changing the "include config.php" bit (change config.php to ur configuration file) to http://your.address.here/your_board/config.php
i havent ever done it, but it should work.
Unfortunatly it won't, because the server on which config.php resides will try to parse the PHP file and send it's output rather than it's contents.
or, you could externally connect to the sql database, but i dunno how; sorry. try the MySQL homepage; www.mysql.org
Yes, that would work. Edit config (or is it config_global) and change the mysql server value to be the IP/host of your server, rather than "localhost".
To be perfectly honest I don't know why you would want to host the same forum accross two different servers. The largest IBF-based forum on the internet (neowin) runs OK on one server. If your server is struggling, I suggest you upgrade it. Sending all mysql requests to another server accross the internet will most likely cause more performance problems than it would solve.
__________________
[img]http://celltrack.spv-developers.com/render/Zone-MR.png[/img]
[url="http://future.betaone.net/forum/links.php?url=http://future.betaone.net/forum/links.php?url=http://zone-mr.net"]http://zone-mr.net[/url] - Transcribing Life
|
|
19th May 04, 10:53 PM
|
New Member
|
|
Join Date: May 2004
Posts: 2
|
|
Well first off, we are just having 2 mirrors to make our webmasters happy (both have paid for webspace, so ya...) I'm gonna try to make them both run off one database, i believe it will work, ill try it and report back.
-On a side note...
I'm a gamer as my name says, I have beaten both maxpayne 1 and 2, but i prefer online gaming (multiplayer rocks!) I play games like sof2, cs, mohaa, farcry.. you get the point. I'm one of the younger gamers, mature for my age (13 as of april 2nd) And help manage the gamers on demand club, I would give you guys links but I really don't know the rules of the board, I gotta read :-).
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +1. The time now is 03:38 AM.
|
|