Running Website on seperate pc from db

Results 1 to 2 of 2
  1. #1
    Member jmunson is offline
    MemberRank
    Jan 2007 Join Date
    48Posts

    Running Website on seperate pc from db

    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!


  2. #2
    Sorcerer Supreme DJRavine is offline
    Member +Rank
    Aug 2006 Join Date
    Brisbane, AustraliaLocation
    281Posts
    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...



Advertisement