AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   SourceBans / SourceBans++ (https://forums.alliedmods.net/forumdisplay.php?f=152)
-   -   Error, cant access database! (https://forums.alliedmods.net/showthread.php?t=209528)

rootaccess 02-26-2013 15:23

Error, cant access database!
 
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

K0Killer2 02-26-2013 16:23

Re: Error, cant access database!
 
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].

rootaccess 02-26-2013 17:17

Re: Error, cant access database!
 
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

YamiKaitou 02-26-2013 19:46

Re: Error, cant access database!
 
Quote:

Originally Posted by rootaccess (Post 1902622)
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

rootaccess 02-27-2013 08:24

Re: Error, cant access database!
 
now they have open more max users.. and i still got one problem! :o


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

rootaccess 02-27-2013 12:37

Re: Error, cant access database!
 
And now i cant even get admin on "bhop, dgl,deathrun, servers?" only on surf.... Wtf..

Peace-Maker 02-28-2013 08:14

Re: Error, cant access database!
 
Quote:

Originally Posted by rootaccess (Post 1903100)
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?


All times are GMT -4. The time now is 22:11.

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