Raised This Month: $51 Target: $400
 12% 

Error, cant access database!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
rootaccess
Junior Member
Join Date: Feb 2013
Old 02-26-2013 , 15:23   Error, cant access database!
Reply With Quote #1

Hello, i got an error and the admin menu dosent work...


Code:
L 02/26/2013 - 21:15:47: [sourcebans.smx] Database failure: [1045]: Access denied for user 'x22sourc_rootacc'@'188.126.64.18' (using password: YES).

i have try "localhost" to.. but the server and webserver isnt on the same "computer"


Code:
L 02/26/2013 - 21:15:47: [sourcebans.smx] Database failure: [1045]: Access denied for user 'x22sourc_rootacc'@'188.126.64.18' (using password: YES).


what is th problem here?




GOT THIS NOW:

Code:
[+] SourceBans "Error Connecting()" Debug starting for server 108.61.254.100:27015

[+] Trying to establish UDP connection
[+] UDP connection successfull!
[+] Trying to write to the socket
[+] Successfully requested server info. (That doesn't mean anything on an UDP stream.) Reading...
[-] Error getting server info. Can't read from UDP stream. Port is possibly blocked.

[+] Trying to establish TCP connection
[+] TCP connection successfull!
[+] Trying to write to TCP socket and authenticate via rcon
[+] Successfully sent authentication request. Reading...
[+] Got an response! 
[+] Password correct!

and all ports are open? WTF i have just talk with my host and they have open them all...


- Root Access

Last edited by rootaccess; 02-26-2013 at 15:29.
rootaccess is offline
K0Killer2
SourceMod Donor
Join Date: Aug 2012
Location: Florida
Old 02-26-2013 , 16:23   Re: Error, cant access database!
Reply With Quote #2

Don't use localhost, use your website's IP address.

If your host has cpanel, go to the Remote MySQL option. Add the IP that's connecting to your mysql database [188.126.64.18].
__________________

Last edited by K0Killer2; 02-26-2013 at 16:24.
K0Killer2 is offline
rootaccess
Junior Member
Join Date: Feb 2013
Old 02-26-2013 , 17:17   Re: Error, cant access database!
Reply With Quote #3

Thanks! but i got an error now and i cant see the servers on my host!

Code:
Error: the XML response that was returned from the server is invalid. Received: 
Warning: mysql_connect() [function.mysql-connect]: User x22sourc_rootacc already has more than 'max_user_connections' active connections in /home/x22sourc/public_html/includes/adodb/drivers/adodb-mysql.inc.php on line 358
User x22sourc_rootacc already has more than 'max_user_connections' active connections 

SQL Query type: CONNECT
Script: '/index.php'
SQL Query: localhost
SQL Params: x22sourc_source

and where can i select more "max_user_connections" ?




- Root Access
rootaccess is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 02-26-2013 , 19:46   Re: Error, cant access database!
Reply With Quote #4

Quote:
Originally Posted by rootaccess View Post
and where can i select more "max_user_connections" ?
That is something your host will have to change. If you are the host, then it is in the mysql config file
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
rootaccess
Junior Member
Join Date: Feb 2013
Old 02-27-2013 , 08:24   Re: Error, cant access database!
Reply With Quote #5

now they have open more max users.. and i still got one problem!


Code:
[+] SourceBans "Error Connecting()" Debug starting for server 108.61.254.100:27015

[+] Trying to establish UDP connection
[+] UDP connection successfull!
[+] Trying to write to the socket
[+] Successfully requested server info. (That doesn't mean anything on an UDP stream.) Reading...
[-] Error getting server info. Can't read from UDP stream. Port is possibly blocked.

[+] Trying to establish TCP connection
[+] TCP connection successfull!
[+] Trying to write to TCP socket and authenticate via rcon
[+] Successfully sent authentication request. Reading...
[+] Got an response! 
[+] Password correct!

and all the ports are open TPC incoming/outgoing and UDP incoming/outgoing ? o.O that dosent make sens...



- Root Access

Last edited by rootaccess; 02-27-2013 at 11:51.
rootaccess is offline
rootaccess
Junior Member
Join Date: Feb 2013
Old 02-27-2013 , 12:37   Re: Error, cant access database!
Reply With Quote #6

And now i cant even get admin on "bhop, dgl,deathrun, servers?" only on surf.... Wtf..
rootaccess is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 02-28-2013 , 08:14   Re: Error, cant access database!
Reply With Quote #7

Quote:
Originally Posted by rootaccess View Post
And now i cant even get admin on "bhop, dgl,deathrun, servers?" only on surf.... Wtf..
Any errors on these servers in the logs? ServerID set correctly in the sourcebans.cfg?
__________________
Peace-Maker is offline
Reply



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 13:19.


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