Page 1 of 2

No connection to the Database

Posted: 02 Aug 2019, 11:06
by Papo4ka
Hello everyone, I installed the database on my VDS, I set it up, everything is fine, the Bansisystem-type plugins are connected, but I noticed that for some reason the plug-in of the coins does not want to be connected, the problem is not exactly in the database, as others have connected.

Code: Select all

[AMXX] Plugin ("ze_coins_system.amxx") is setting itself as failed.[/b]
[AMXX] Plugin says: Failed to connect to MySQL database: Can't connect to MySQL server on '37 .230.210.25 '(4) - FAILED CONNECTION
[AMXX] Run time error 1 (plugin "ze_coins_system.amxx") - forced exit

Code: Select all

[ze_level_system.amxx] [MySQL] [LVL] Successfully connected to host: 37.230.210.25 (ALL IS OK). - GOOD CONNECTION

Re: No connection to the Database

Posted: 02 Aug 2019, 11:28
by Muhammet20
post your modules.ini

Re: No connection to the Database

Posted: 02 Aug 2019, 11:45
by Papo4ka
modules.ini

Code: Select all

cstrike
csx
reapi
amxx modules

Code: Select all

[ 1] CStrike                 1.9.0.5247  AMX Mod X Dev Team   running
[ 2] dummy_csx               1.0         AGHL.RU Dev Team     running
[ 3] ReAPI                   5.8.0.166-  Asmodai & s1lent     running
[ 4] FakeMeta                1.9.0.5247  AMX Mod X Dev Team   running
[ 5] MySQL                   1.9.0.5247  AMX Mod X Dev Team   running
[ 6] Ham Sandwich            1.9.0.5247  AMX Mod X Dev Team   running
[ 7] nVault                  1.9.0.5247  AMX Mod X Dev Team   running
[ 8] Engine                  1.9.0.5247  AMX Mod X Dev Team   running
[ 9] Fun                     1.9.0.5247  AMX Mod X Dev Team   running

Re: No connection to the Database

Posted: 02 Aug 2019, 13:42
by czirimbolo
try with Mysql module 1.8.2

Re: No connection to the Database

Posted: 02 Aug 2019, 14:33
by Muhammet20
add this to your modules.ini:

Code: Select all

mysql
so the final must be:

Code: Select all

cstrike
csx
reapi
mysql
if not working tell me.

Re: No connection to the Database

Posted: 02 Aug 2019, 17:15
by Raheem
In zombie_escape.cfg make sure of these:
    1. ze_ec_host ""           // Database ip
    2. ze_ec_user ""           // Database account username
    3. ze_ec_pass ""           // Database account password
    4. ze_ec_dbname ""         // Database name

Re: No connection to the Database

Posted: 03 Aug 2019, 10:48
by Papo4ka
Somehow strange, reinstalled the system, now there is a connection

Re: No connection to the Database

Posted: 03 Aug 2019, 13:35
by Raheem
So problem solved?

Re: No connection to the Database

Posted: 03 Aug 2019, 14:27
by Papo4ka
Yes

Re: No connection to the Database

Posted: 05 Aug 2019, 19:08
by Luxurious
Raheem wrote:
4 Months Ago
So problem solved?
@Raheem , i have the Same Problem

Code: Select all

L 08/05/2019 - 21:05:42: [AMXX] Plugin says: Failed to connect to MySQL database: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Modules.ini

Code: Select all

fun
engine
fakemeta
geoip
sockets
regex
nvault
hamsandwich
cstrike
mysql
sqlite