Labarr Posted September 8, 2013 Content Count: 3052 Joined: 08/30/09 Status: Offline Share Posted September 8, 2013 Hello, I helped a friend setup sourcebans for his server and now all of a sudden No one can connect to the website. WE get the error message [b]Warning: mysql_connect() [[url="http://db.site.nfoservers.com/bans/function.mysql-connect"]function.mysql-connect[/url]]: Can't connect to MySQL server on 'db.site.nfoservers.com' (4) in[b]/usr/www/db/public/bans/includes/adodb/drivers/adodb-mysql.inc.php on line [b]358 Can't connect to MySQL server on 'db.site.nfoservers.com' (4) SQL Query type: CONNECT Script: '/bans/index.php' SQL Query: db.site.nfoservers.com [/b][/b][/b][b][b][b]SQL Params: db_sourcebans [/b][/b][/b] Any idea why it is doing this all of a sudden? Link to comment
Tweezy Posted September 8, 2013 Content Count: 3791 Joined: 08/08/09 Status: Offline Share Posted September 8, 2013 This is a mySQL error when the database details provided are incorrect. Have you got the correct DB username, password and name correct? Link to comment
Labarr Posted September 8, 2013 Content Count: 3052 Joined: 08/30/09 Status: Offline Share Posted September 8, 2013 This is a mySQL error when the database details provided are incorrect. Have you got the correct DB username, password and name correct? I'll go in and check.. He hasn't touched anything since i set it up. I'll let you know Link to comment
Tweezy Posted September 8, 2013 Content Count: 3791 Joined: 08/08/09 Status: Offline Share Posted September 8, 2013 I'll go in and check.. He hasn't touched anything since i set it up. I'll let you know Has it been working before? Also, make sure that the user where the database is stored as all the correct privileges. Link to comment
Nishok Posted September 8, 2013 Content Count: 3178 Joined: 08/06/08 Status: Offline Share Posted September 8, 2013 Should be fixed by now, or at least be fixed soon. I see you are on a DB server from NFO, which is being DDoSed as the last day or two. They have it under control (or close to), so no stress. Link to comment
Tweezy Posted September 8, 2013 Content Count: 3791 Joined: 08/08/09 Status: Offline Share Posted September 8, 2013 Or what Nishok said haha. Hope it gets fixed soon for you man Link to comment
Labarr Posted September 8, 2013 Content Count: 3052 Joined: 08/30/09 Status: Offline Share Posted September 8, 2013 Has it been working before? Also, make sure that the user where the database is stored as all the correct privileges. Yes I set it up about 3 months ago and today is just stopped working.. Im waiting for him ti respond to me with the info for ftp so i can check Link to comment
Labarr Posted September 8, 2013 Content Count: 3052 Joined: 08/30/09 Status: Offline Share Posted September 8, 2013 I just checked everything in databases.cfg and then config.php... they are all matching up... I'm lost : Link to comment
Labarr Posted September 8, 2013 Content Count: 3052 Joined: 08/30/09 Status: Offline Share Posted September 8, 2013 Ok so I got it to work again.. Strange... I had to change the host on both the config.php and databases.cfg from xxxxx.com to localhost.. Dunno y Link to comment
Nishok Posted September 9, 2013 Content Count: 3178 Joined: 08/06/08 Status: Offline Share Posted September 9, 2013 Ok so I got it to work again.. Strange... I had to change the host on both the config.php and databases.cfg from xxxxx.com to localhost.. Dunno y Could be because either: - External connection is disallowed. - Because of the DDoS external connections are hard to maintain, so through internal connection there is no interruption. - Or something else I missed. Sent from my GT-I9003 using Tapatalk 2 Link to comment
Recommended Posts
Reply to Thread
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now