Quote:
Originally posted by PlurPlanet
joeboo - I don't think it can unless that server has access to the same database. There *may* be a way to have it pull the info from the other server if it doesn't have access to the database, but I've never tried that and I'm not sure if it would even work or not. I can try to look into making a "mini-hack" if I can get that to work when I have some more time though.
|
I'm sure you can. It all has to do with the name of the database server in admin/config.php
For example, the myvbindex.php file is on Server A and the forums are on Server B.
You would need to mimic certain files such as global.php etc on the Server A, and then on server B in admin/config.php don't put "localhost" as teh servername. Hmm, actually, this is getting more complex as I think about it. In order to be included, the admin/config.php would need to be on the same server also as the myvbindex.php -
Hmm, I think then that you'd need to have it so that on Server A you had myvbindex.php, global.php and then all the contents of the admin folder. In the admin folder on Server A you'd specify the IP or full hostname of the MySQL server on Server B. Server B you would leave intact as a normal forum and use the term "localhost" in your admin/config.php
The problem though may be a question of "What constitutes two uses of one licence?"
EDIT
Oh, it gets worse. While securing a MySQL server I'm running at home, I found out that you also have to specify from which hosts any given user can access the server. I'm betting 100% of Hosting Co's will just have this set to "localhost" purely for security reasons. That means that no matter what, you'll not be able to *directly* connect to the remote database from another server unless it is specifically enabled (maybe a second MySQL account would allow it, but you'd need to speak to your host)