Serwer nie łączy się z bazą.
Why?!
23.11.2011
Witam, mam wykupiony serwer w hostingu OwnServer (tak, wiem, upadłem na mózg) i nie może on się połączyć z bazą danych. Pan Stasiu próbuje mi wmówić że nie dodałem serwera do "zdalnego połączenia" itd...
logi z konsoli:
[AMXBans] SQL error: can't connect: 'Can't connect to MySQL server on 'www.cs-cpg.xaa.pl' (110)'
L 11/23/2011 - 20:37:42: [amxbans_main.amxx] [AMXBans] Connection failed!
L 11/23/2011 - 20:37:42: [amxbans_main.amxx] [AMXBans] Message: Can't connect to MySQL server on 'www.cs-cpg.xaa.pl' (110) (2003)
L 11/23/2011 - 20:37:42: [amxbans_main.amxx] [AMXBans] Query statement: SELECT `motd_delay` FROM `amx_serverinfo` WHERE address = '91.204.161.192:27073';
Menu item 19 added to Menus Front-End: "AMXBans: Player-Flagging" from plugin "AMXBans: Main"
Menu item 20 added to Menus Front-End: "AMXBans: Disconnected Players" from plugin "AMXBans: Main"
Menu item 21 added to Menus Front-End: "AMXBans: Banhistory" from plugin "AMXBans: Main"
Menu item 22 added to Menus Front-End: "ML_NOTFOUND: SS_MENU_NAME" from plugin "AMXBans: Screens"
L 11/23/2011 - 20:38:03: [amxbans_main.amxx] [AMXBans] Connection failed!
L 11/23/2011 - 20:38:03: [amxbans_main.amxx] [AMXBans] Message: Can't connect to MySQL server on 'www.cs-cpg.xaa.pl' (110) (2003)
L 11/23/2011 - 20:38:03: [amxbans_main.amxx] [AMXBans] Query statement: SELECT (SELECT UNIX_TIMESTAMP(NOW()) - '1322077062') AS `offset`;
Plugin diablo też nie łączy się z bazą:
sql.cfg
plugins.ini:
modules.ini:
logi z konsoli:
[AMXBans] SQL error: can't connect: 'Can't connect to MySQL server on 'www.cs-cpg.xaa.pl' (110)'
L 11/23/2011 - 20:37:42: [amxbans_main.amxx] [AMXBans] Connection failed!
L 11/23/2011 - 20:37:42: [amxbans_main.amxx] [AMXBans] Message: Can't connect to MySQL server on 'www.cs-cpg.xaa.pl' (110) (2003)
L 11/23/2011 - 20:37:42: [amxbans_main.amxx] [AMXBans] Query statement: SELECT `motd_delay` FROM `amx_serverinfo` WHERE address = '91.204.161.192:27073';
Menu item 19 added to Menus Front-End: "AMXBans: Player-Flagging" from plugin "AMXBans: Main"
Menu item 20 added to Menus Front-End: "AMXBans: Disconnected Players" from plugin "AMXBans: Main"
Menu item 21 added to Menus Front-End: "AMXBans: Banhistory" from plugin "AMXBans: Main"
Menu item 22 added to Menus Front-End: "ML_NOTFOUND: SS_MENU_NAME" from plugin "AMXBans: Screens"
L 11/23/2011 - 20:38:03: [amxbans_main.amxx] [AMXBans] Connection failed!
L 11/23/2011 - 20:38:03: [amxbans_main.amxx] [AMXBans] Message: Can't connect to MySQL server on 'www.cs-cpg.xaa.pl' (110) (2003)
L 11/23/2011 - 20:38:03: [amxbans_main.amxx] [AMXBans] Query statement: SELECT (SELECT UNIX_TIMESTAMP(NOW()) - '1322077062') AS `offset`;
Plugin diablo też nie łączy się z bazą:
sql.cfg
amx_sql_host "www.cs-cpg.xaa.pl" amxx_sql_user "cscpg_kelo" amx_sql_pass "****" amx_sql_db "cscpg_strona" amx_sql_table "amx"
plugins.ini:
; AMX Mod X plugins ; Admin Base - Always one has to be activated amxbans_core.amxx amxbans_main.amxx debug ;admin.amxx ; admin base (required for any admin-related) ;admin_sql.amxx ; admin base - SQL version (comment admin.amxx) ; Basic admincmd.amxx ; basic admin console commands adminhelp.amxx ; help command for admin console commands adminslots.amxx ; slot reservation multilingual.amxx ; Multi-Lingual management ; Menus menufront.amxx ; front-end for admin menus cmdmenu.amxx ; command menu (speech, settings) plmenu.amxx ; players menu (kick, ban, client cmds.) ;telemenu.amxx ; teleport menu (Fun Module required!) mapsmenu.amxx ; maps menu (vote, changelevel) pluginmenu.amxx ; Menus for commands/cvars organized by plugin ; Chat / Messages adminchat.amxx ; console chat commands antiflood.amxx ; prevent clients from chat-flooding the server scrollmsg.amxx ; displays a scrolling message imessage.amxx ; displays information messages adminvote.amxx ; vote commands ; Map related nextmap.amxx ; displays next map in mapcycle mapchooser.amxx ; allows to vote for next map timeleft.amxx ; displays time left on map ; Configuration pausecfg.amxx ; allows to pause and unpause some plugins statscfg.amxx ; allows to manage stats plugins via menu and commands ; Counter-Strike ;restmenu.amxx ; restrict weapons menu statsx.amxx ; stats on death or round end (CSX Module required!) ;miscstats.amxx ; bunch of events announcement for Counter-Strike ;stats_logging.amxx ; weapons stats logging (CSX Module required!) ; Enable to use AMX Mod plugins ;amxmod_compat.amxx ; AMX Mod backwards compatibility layer ; Custom - Add 3rd party plugins here dbmod_5.9l.amxx ;silnik diablo
modules.ini:
;;; ; To enable a module, remove the semi-colon (<img src='https://amxx.pl/public/style_emoticons/<#EMO_DIR#>/wink.png' class='bbc_emoticon' alt=';)' /> in front of its name. ; If it's not here, simply add it its name, one per line. ; You don't need to write the _amxx part or the file extension. ;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; SQL Modules usually need to be enabled manually ;; ;; You can have any number on at a time. Use ;; ;; amx_sql_type in sql.cfg to specify the default ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 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 nvault cstrike csx hamsandwich
_nothing_ 23.11.2011
na pewno dobre dane wpisałeś do sql.cfg ?
A i czy dałeś zezwolenie na zdalne połączenie ? Wpisując tam IP twojego serwera bez portu .
Can't connect to MySQL server on 'www.cs-cpg.xaa.pl'
A i czy dałeś zezwolenie na zdalne połączenie ? Wpisując tam IP twojego serwera bez portu .
Why?!
23.11.2011
Możesz nie robić ze mnie idioty? Dodałem IP i wpisałem poprawne dane.
Użytkownik Why?! edytował ten post 23.11.2011 21:09
Użytkownik Why?! edytował ten post 23.11.2011 21:09
Kawon
23.11.2011
bez wwwamx_sql_host "www.cs-cpg.xaa.pl"
amx_sql_host "cs-cpg.xaa.pl"a najlepiej wpisz ip bazy
Why?!
23.11.2011
Wpisywałem IP bazy, host strony, teraz z www i za każdym razem ten sam błąd
Kawon
23.11.2011
to wpisz ip bazy, do zezwoleń zdalnego połączenia dodaj %
i w amxbans.cfg
Użytkownik Kawon edytował ten post 23.11.2011 21:33
i w amxbans.cfg
amxbans_server_address ""wpisz ip:port serwera cs
Użytkownik Kawon edytował ten post 23.11.2011 21:33
Hiroshima
23.11.2011
[GmAMXBans] AMXBANS i MySQL. TUTORIAL - AMXX.pl: Support AMX Mod X - czytałeś to w ogóle?
Why?!
23.11.2011
Hiroshima
To nie jest mój 1 serwer, stawiałem już amxbansa nie raz... Jednak 1 raz spotykam się z takim błędem że serwer pomimo POPRAWNEJ konfiguracji nie może się połączyć z bazą
Poza tym diablo też nie tworzy tabeli w bazie. Po prostu ten serwer nie może się połączyć z niewiadomej przyczyny...
To nie jest mój 1 serwer, stawiałem już amxbansa nie raz... Jednak 1 raz spotykam się z takim błędem że serwer pomimo POPRAWNEJ konfiguracji nie może się połączyć z bazą
Poza tym diablo też nie tworzy tabeli w bazie. Po prostu ten serwer nie może się połączyć z niewiadomej przyczyny...
Hiroshima
23.11.2011
Hiroshima
To nie jest mój 1 serwer, stawiałem już amxbansa nie raz... Jednak 1 raz spotykam się z takim błędem że serwer pomimo POPRAWNEJ konfiguracji nie może się połączyć z bazą
Poza tym diablo też nie tworzy tabeli w bazie. Po prostu ten serwer nie może się połączyć z niewiadomej przyczyny...
Wierzysz w cuda? Albo jednak coś zrobiłeś źle, albo pomyśl o jakimś normalnym hostingu
Why?!
23.11.2011
Jednak chyba hosting . Bo skopiowałem wszystko z serwera z pukawki na którym działa amxbans, ale na tym ownshicie nie działa . Ale pan Stasiu dalej się będzie upierał że ja zepsułem...
Aaa, walnąłem reinstal i serwer w ogóle nie chce się włączyć .
W cuda nie wierzę.
Ma ktoś jeszcze inny pomysł?
Aaa, walnąłem reinstal i serwer w ogóle nie chce się włączyć .
W cuda nie wierzę.
Ma ktoś jeszcze inny pomysł?
Użytkownik Why?! edytował ten post 23.11.2011 22:29
Hiroshima
23.11.2011
no więc pisz do supportu tego pro hostingu (xaa) a w międzyczasie pomyśl o np unixstorm
MaxiKINGer 24.11.2011
Brawo geniuszu....
-,-
Skopiuj to i pozmieniaj.
2 ostatnich nie ruszaj.
Użytkownik MaxiKINGer edytował ten post 24.11.2011 20:01
-,-
amx_sql_host "Wpisz IP BAZY" amx_sql_user "Uzyt bazy" amx_sql_pass "hasło uzyt bazy" amx_sql_db "baza_nazwa" amx_sql_table "amx" amx_sql_type "mysql"
Skopiuj to i pozmieniaj.
2 ostatnich nie ruszaj.
Użytkownik MaxiKINGer edytował ten post 24.11.2011 20:01
BaQStiC
24.11.2011
Hmmm... czy z tej bazy co podales
amx_sql_db "cscpg_strona"korzysta forum/strona?
Why?!
24.11.2011
MaxKINGer, widzę że chciałeś błysnąć ale ci się nie udało. Jak można zauważyć w 1 poście wszystkie pola wypełniłem poprawnie, poza tym prefiks tabeli bazy jest w amxbans.cfg a typ bazy amx sam wykrywa -.-
BaQstiC, owszem
Z czystej ciekawości sprawdzam czy będzie działało na bazie z cba.pl. O wynikach poinforumje
@edit
Użytkownik Why?! edytował ten post 24.11.2011 21:18
BaQstiC, owszem
Z czystej ciekawości sprawdzam czy będzie działało na bazie z cba.pl. O wynikach poinforumje
@edit
[AMXBans] SQL error: can't connect: 'Can't connect to MySQL server on 'mysql.cba.pl' (110)'
Użytkownik Why?! edytował ten post 24.11.2011 21:18
Why?!
26.11.2011
Zrobiłem, nic nie dało.
Wiem że działa na bazie z unixstorm, ale ja chce na proserwer skoro na pukawce wszystko działa -.-
Wiem że działa na bazie z unixstorm, ale ja chce na proserwer skoro na pukawce wszystko działa -.-