Raised This Month: $52 Target: $400
 13% 

'MySQL Unable to connect to host'


Post New Thread Reply   
 
Thread Tools Display Modes
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 02-19-2016 , 08:35   Re: 'MySQL Unable to connect to host'
Reply With Quote #11

The default MySQL install for most distributions only listens on localhost.
__________________
asherkin is online now
Geeza
Junior Member
Join Date: Feb 2016
Old 02-19-2016 , 10:20   Re: 'MySQL Unable to connect to host'
Reply With Quote #12

Quote:
Originally Posted by Rytis View Post
Is the database accessible from outside?

The database is accessible from the server yes, it just doesn't seem to connect on either both databases i have linked it to, i don't know if this is a sourcebans version error or...
Geeza is offline
Geeza
Junior Member
Join Date: Feb 2016
Old 02-19-2016 , 13:14   Re: 'MySQL Unable to connect to host'
Reply With Quote #13

I have added a .sql file to sqlite and it connects to it, but whereas it doesn't pick up the database.

Could you's give me a working .sql file to put in sqlite, it would be great. The version of the sourcebans i am using is 1.5.4
Geeza is offline
Rytis
Veteran Member
Join Date: Feb 2012
Location: Germany
Old 02-19-2016 , 13:52   Re: 'MySQL Unable to connect to host'
Reply With Quote #14

Lol, what does SourceBans have to do with a SQLite database?
Rytis is offline
Geeza
Junior Member
Join Date: Feb 2016
Old 02-20-2016 , 08:13   Re: 'MySQL Unable to connect to host'
Reply With Quote #15

Quote:
Originally Posted by Rytis View Post
Lol, what does SourceBans have to do with a SQLite database?
If you haven't noticed already, that is the localhost, i put a .sql file in there it connects to it.

It doesnt seem to connect anything outside other than localhost,

But then it does connect, but it says cant find the table.
Geeza is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:02.


Powered by vBulletin®
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Theme made by Freecode