←  Problemy

AMXX.pl: Support AMX Mod X i SourceMod

»

Amxbans

Zablokowany

  • +
  • -
naven - zdjęcie naven 23.12.2008

Witam, mam problem z amxbans, ciągle nie mogę się połączyć z bazą danych. Web interface wgrałem bez problemu, jednak serwer(do gry) nie może się połączyć.

logi:
[Amxbans] Query statement: 
L 12/23/2008 - 10:17:52: [amxbans.amxx] [Amxbans] Connection failed!
L 12/23/2008 - 10:17:52: [amxbans.amxx] [Amxbans] Threaded query error, location: 5
L 12/23/2008 - 10:17:52: [amxbans.amxx] [Amxbans] Message: Access denied for user 'naven_naven'@'83.143.133.18' (using password: YES) (1045)
L 12/23/2008 - 10:17:52: [amxbans.amxx] [Amxbans] Query statement: 

sql.cfg:

// SQL configuration file
// File location: $moddir/addons/amxmodx/configs/sql.cfg

// *NOTE* Linux users may encounter problems if they specify "localhost" instead of "127.0.0.1"
// We recommend using your server IP address instead of its name

// *NOTE* amx_sql_type specifies the DEFAULT database type which admin.sma will use.




amx_sql_host    "cs-wies.hekko.pl"
amx_sql_user    "naven_naven"
amx_sql_pass    "haslo"
amx_sql_db        "naven_jeden"
amx_sql_table    "admins"
amx_sql_type    "mysql"
Odpowiedz

  • +
  • -
wizu - zdjęcie wizu 23.12.2008

W hekko trzeba bodajże w panelu administracyjnym dodać IP zewnętrznego serwera, który będzie łączył się z bazą.
Odpowiedz

Gość__* 23.12.2008

W hekko trzeba bodajże w panelu administracyjnym dodać IP zewnętrznego serwera, który będzie łączył się z bazą.

Te IP podajże masz w phpmyadmin w lewy, górnym rogu.
Odpowiedz

  • +
  • -
naven - zdjęcie naven 23.12.2008

hmm, a gdzie dokladniej? Mam to otwarte, ale nie widze nigdzie wlaczenia zewnetrznego hosta
Odpowiedz

Gość__* 23.12.2008

hmm, a gdzie dokladniej? Mam to otwarte, ale nie widze nigdzie wlaczenia zewnetrznego hosta

No nie ma, zamiast IP jest localhost. Najlepiej napisz do pana Damiana to Ci pomoże :]
Odpowiedz

  • +
  • -
naven - zdjęcie naven 23.12.2008

jak dam localhost to mi pisze:
[amxbans.amxx] [Amxbans] Threaded query error, location: 5
L 12/23/2008 - 17:47:52: [amxbans.amxx] [Amxbans] Message: Access denied for user 'naven_naven'@'localhost' (u
mam jeszcze takie ip: 91.203.133.236:81 w nazwie, jak dam to, to po 5 minutach w logach wyskoczylo mi
18:05:46: [amxbans.amxx] [Amxbans] Connection failed!
L 12/23/2008 - 18:05:46: [amxbans.amxx] [Amxbans] Threaded query error, location: 1
L 12/23/2008 - 18:05:46: [amxbans.amxx] [Amxbans] Message: Lost connection to MySQL server at 'reading initial communication packet', system error: 0 (2013)
L 12/23/2008 - 18:05:46: [amxbans.amxx] [Amxbans] Query statement: 

edit: problem rozwiązany dzięki pomocy wizu, można zamykać
Odpowiedz
Zablokowany