Cannot connect to database from another host

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Cannot connect to database from another host

Postby CPUsave » 19. November 2012 18:16

Hello there guys and girls. Im trying to get my MysQL to work.
I want to start a game-server community and then i have sourcebans.
I have two servers. One server just for MySQL and website and one for the game servers. Both of them are running on the same network. But when im trying to connect to the sourcebans from the other server to the web server it says that it cannot connect to the MySQL. I have tryed to change the bind-address to bind-address="0.0.0.0" but it won't work. Whats the problem then?. Because if i install the Counter strike source server witch im trying to connect with, it works if i install it on the web server. but not on the other server on the network. Does anyone know whats the problem? sry for bad/easy english. From SWE:)

Best Regards, Edwin

PS, maby in wrong thread. If wrong, please move it:)
CPUsave
 
Posts: 2
Joined: 19. November 2012 18:14
XAMPP Version: 5.6.3
Operating System: Server 2008 r2

Re: Cannot connect to database from another host

Postby JonB » 20. November 2012 00:05

Was the bind-address originally set to 127.0.0.1?

Have you tried binding it to the local IP address?

Is the firewall open on 3306?

Good Luck
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
XAMPP Version: 1.8.3-2
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: Cannot connect to database from another host

Postby CPUsave » 20. November 2012 10:25

Yes it was set to 127.0.0.1. And the firewall has the 3306 open. But im not shure if i tryed the local ip, hmm. Im gonna try and reply later:)
CPUsave
 
Posts: 2
Joined: 19. November 2012 18:14
XAMPP Version: 5.6.3
Operating System: Server 2008 r2


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 43 guests