Logi:
[AMXBans] SQL error: can't connect: 'Can't connect to MySQL server on '178.33.50.202' (110)' Connection to Steam servers successful. VAC secure mode is activated. Menu item 17 added to Menus Front-End: "AMXBans: Player-Flagging" from plugin "AMXBans Main" Menu item 18 added to Menus Front-End: "AMXBans: Disconnected Players" from plugin "AMXBans Main" Menu item 19 added to Menus Front-End: "AMXBans: Banhistory" from plugin "AMXBans Main" Menu item 20 added to Menus Front-End: "AMXBans: Screens" from plugin "AMXBans: Screens" L 01/18/2013 - 15:14:00: [amxbans_main.amxx] [AMXBans] Connection failed! L 01/18/2013 - 15:14:00: [amxbans_main.amxx] [AMXBans] Threaded Query Error, Place: 1 L 01/18/2013 - 15:14:00: [amxbans_main.amxx] [AMXBans] Message: Can't connect to MySQL server on '178.33.50.202' (110) (2003) L 01/18/2013 - 15:14:00: [amxbans_main.amxx] [AMXBans] Query statement: SELECT `motd_delay` FROM `amx_serverinfo` WHERE address = '31.186.82.99:27759' L 01/18/2013 - 15:14:21: [amxbans_main.amxx] [AMXBans] Connection failed! L 01/18/2013 - 15:14:21: [amxbans_main.amxx] [AMXBans] Threaded Query Error, Place: 5 L 01/18/2013 - 15:14:21: [amxbans_main.amxx] [AMXBans] Message: Can't connect to MySQL server on '178.33.50.202' (110) (2003) L 01/18/2013 - 15:14:21: [amxbans_main.amxx] [AMXBans] Query statement: [AMXBans] No Reasons found [AMXBans] No Reasons found in Database. Static reasons were loaded instead. L 01/18/2013 - 15:14:21: [amxbans_main.amxx] [AMXBans] No Reasons found in Database. Static reasons were loaded instead.
modules:
mysql ;sqlite ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Put third party modules below here. ;; ;; You can just list their names, without the _amxx ;; ;; or file extension. ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; These modules will be auto-detected and loaded ;; ;; as needed. You do not need to enable them here ;; ;; unless you have problems. ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; fun ;engine ;fakemeta ;geoip ;sockets ;regex ;nvaultcstrike csx ;hamsandwich
sql.cfg:
amx_sql_host "178.33.50.202" amx_sql_user "ghost_amxbans" amx_sql_pass "**********" amx_sql_db "ghost_amxbans" amx_sql_table "admins" amx_sql_type "mysql"
I żeby nie było wstawiam screen gdzie jest nadane zezwolenie dla wszystkich połączeń
Strona www z amxbans chodzi na tych samych danych dostępowych co serwer cs i łączy się prawidłowo z mysql.
<?php $config->document_root = ""; $config->path_root = "/home..."; $config->db_host = "178.33.50.202"; $config->db_user = "ghost_amxbans"; $config->db_pass = "*******"; $config->db_db = "ghost_amxbans"; $config->db_prefix = "amx"; ?>
LInk do amxbans http://evo-amxbans.i...eu/ban_list.php
Paczkę z Amxbans pobrałem stąd http://amxx.pl/topic...-edit-23082012/
Jedyne czego nie zrobiłem, to nie dodałem serwera na stronie ponieważ zawsze kiedy instalowałem amxbans sam się dodawał...
Z góry bardzo dziękuje za pomoc w rozwiązaniu problemu.