Znote Posted May 2, 2010 Report Share Posted May 2, 2010 Greetings. I have a small problem, here is the situation: I have a game server installed, and uniform server installed. I look at Uniform Server as a way better candidate than XAMPP, since its light-weighted, and has all the necessary functions. I start mySQL and Apache on uniform server, it all seem to be working perfectly, I add the security steps (all without the PHP, that isn't necessary). I enter phpmyadmin, replace root user with my custom user. (To avoid root brute-forcing programs). I create another limited user which got full access to 1 database, and I import the gameservers database structures using import file. Everything works fine so far. I start the game server, it connects to the mySQL database, it works fine. However, with this game server, it comes a website pack, so you can enter website to create account, view highscores and such things for the game server. What I do is to remove everything is remove everything in D:\UniServer\wwwand replace it with the website files. Then I configure the parts, and I write correct mySQL details. (Using the same as the game server). It works perfectly on the game server, but when I am running website using Apache, I get "Cannot connect to database." I have checked, and rechecked several times, the connection details is correct. When I enter phpmyadmin, and I write exactly what's in the website configs, it works just fine. When I use XAMPP instead of uniform server, it also works perfectly. But I don't want to use XAMPP, anyone got any idea why it does not work properly? I am testing this on my Windows 7 local computer, it is not port forwarded, I use it for testing purposes. So when connecting to database, I used "localhost". Which works perfectly using the game server, but not through Apache. I am using Uniform Server 5.6.4 Any help or questions is highly appreciated! Quote I am representing the open tibia community otland.netotland.net is contributing open source server software to an 2d mmorpg game called Tibia.Here are some Uniform server tutorials/guide contributions from me:VIDEO TUTORIAL: I teach newbreeds to install and operate uniform server: (Updated for Coral 8.x)http://youtu.be/AsyxPhDTOcIUniform Server newbie guide:Securely installing Uniform Server for total newbeginners:http://otland.net/f479/nothing-fully-worki...-0-3-6-a-77593/(also contains how to get our open source tibia game, and connect it successfully to the uniform mysql server).How to add a website for our open source tibia game which includes highscore, create account and so on: (On uniform server)http://otland.net/f479/website-installing-...m-server-91951/ Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.