Skocz do zawartości

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

wkamil50 - zdjęcie

wkamil50

Rejestracja: 18.01.2013
Aktualnie: Nieaktywny
Poza forum Ostatnio: 26.07.2016 16:44
-----

Moje tematy

Problem z połączeniem do Mysql

18.01.2013 15:56

Witam, instalując amxbans 1.6 napotkałem problem z połączeniem serwera cs z mysql, już wiele razy instalowałem amxbansa ale jeszcze nie miałem takiego problemu, i z którym już cztery godziny się męczę :mur:

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ń

Dołączona grafika

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.