Running Website on seperate pc from db

Newbie Spellweaver
Joined
Jan 1, 2007
Messages
47
Reaction score
0
First and foremost, I am running Mangos with no problem. Site and everything configured fine. What I would like to do is have a separate box host the website with apache and still link to mysql. Everything seems configured fine. I installed wamp, copied over the existing www directory, all links work, forums and such, but when you go to realmstatus, or players online, it always gives the same error like it cannot connect to the db Unable to connect to MySQL server. MySQL reported: . I know it does connect though because I see th realm list names and I can go into php admin locally connected to the server hosting mangos..
Any ideas what is going on, what files I would need to change, or how I can accomplish this? The reason I want to do this is that when we do server maintenance, I would like people to still have access to the website even though the game server is down.
Thanks for all help in advance!
 
try checking to see if that the user your connecting to the mysql db with...
that they have either access to that DB or that the HOST is equal to %..
to allow any connection thru...
 
Back