• Can't connect to anything from Gmod. 'localhost' problem.
    3 replies, posted
Hey, I don't know much about this specific problem, since I don't know how to solve it. But i'll try to explain as clearly as possible. First off, any gamemode I run, that requires MySQL data, or any sort of database storing, calls the database 'localhost'. Here's a typical error I would get on a few gamemodes: Error connecting to DB: Can't connect to MySQL server on 'localhost' (10061) I seriously do not understand this. I have been searching through the .cfg files for days, and trying everything just to fix this problem, and now i'm just stumped. I do NOT know what is the matter with it. It just says 'localhost', so clearly something about 127.0.0.1 or something like that. It's just not even clear enough to me. If anybody is familiar with this problem, and may know a solution to this, PLEASE answer this. I can't host any of my LAN games nor any Dedicated Servers hosted from my computer, because I keep running into problems relating with 'localhost'. That it can't do anything on 'localhost'. :( Thank-you, I hope there are solutions to this.
Are you running these gamemodes on the same server the mysql databases are? If you need more help add me on steam, sirjoee
[QUOTE=Rockboy122;40246874]Hey, I don't know much about this specific problem, since I don't know how to solve it. But i'll try to explain as clearly as possible. First off, any gamemode I run, that requires MySQL data, or any sort of database storing, calls the database 'localhost'. Here's a typical error I would get on a few gamemodes: Error connecting to DB: Can't connect to MySQL server on 'localhost' (10061) I seriously do not understand this. I have been searching through the .cfg files for days, and trying everything just to fix this problem, and now i'm just stumped. I do NOT know what is the matter with it. It just says 'localhost', so clearly something about 127.0.0.1 or something like that. It's just not even clear enough to me. If anybody is familiar with this problem, and may know a solution to this, PLEASE answer this. I can't host any of my LAN games nor any Dedicated Servers hosted from my computer, because I keep running into problems relating with 'localhost'. That it can't do anything on 'localhost'. :( Thank-you, I hope there are solutions to this.[/QUOTE] Dude.... Really? Do you even have a SQL database server RUNNING on your machine?
[QUOTE=Rockboy122;40246874]Hey, I don't know much about this specific problem, since I don't know how to solve it. But i'll try to explain as clearly as possible. First off, any gamemode I run, that requires MySQL data, or any sort of database storing, calls the database 'localhost'. Here's a typical error I would get on a few gamemodes: Error connecting to DB: Can't connect to MySQL server on 'localhost' (10061) I seriously do not understand this. I have been searching through the .cfg files for days, and trying everything just to fix this problem, and now i'm just stumped. I do NOT know what is the matter with it. It just says 'localhost', so clearly something about 127.0.0.1 or something like that. It's just not even clear enough to me. If anybody is familiar with this problem, and may know a solution to this, PLEASE answer this. I can't host any of my LAN games nor any Dedicated Servers hosted from my computer, because I keep running into problems relating with 'localhost'. That it can't do anything on 'localhost'. :( Thank-you, I hope there are solutions to this.[/QUOTE] Configure your SQL properly.
Sorry, you need to Log In to post a reply to this thread.