Resolved No connection to the Database

Installation Problems Support
Papo4ka
Member
Member
Posts: 12
Joined: 3 Months Ago
Has thanked: 1 time
Been thanked: 0
Contact:

No connection to the Database

#1

Post by Papo4ka » 3 Months Ago

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

User avatar
Muhammet20
Veteran Member
Veteran Member
Syria
Posts: 399
Joined: 1 Year Ago
Location: Turkey
Has thanked: 36 times
Been thanked: 5 times
Age: 13
Contact:

#2

Post by Muhammet20 » 3 Months Ago

post your modules.ini
.::Kaya Gaming || Never Give Up || Zombie Escape::. [Server is Under The Work]
https://kaya-gaming.ga/

I just believe in two things, First thing is who i see in the mirror, second thing is who i don't see in the sky.

Papo4ka
Member
Member
Posts: 12
Joined: 3 Months Ago
Has thanked: 1 time
Been thanked: 0
Contact:

#3

Post by Papo4ka » 3 Months Ago

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

czirimbolo
Veteran Member
Veteran Member
Poland
Posts: 533
Joined: 2 Years Ago
Has thanked: 19 times
Been thanked: 1 time
Contact:

#4

Post by czirimbolo » 3 Months Ago

try with Mysql module 1.8.2
Image

User avatar
Muhammet20
Veteran Member
Veteran Member
Syria
Posts: 399
Joined: 1 Year Ago
Location: Turkey
Has thanked: 36 times
Been thanked: 5 times
Age: 13
Contact:

#5

Post by Muhammet20 » 3 Months Ago

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.
.::Kaya Gaming || Never Give Up || Zombie Escape::. [Server is Under The Work]
https://kaya-gaming.ga/

I just believe in two things, First thing is who i see in the mirror, second thing is who i don't see in the sky.

User avatar
Raheem
Mod Developer
Mod Developer
Egypt
Posts: 1972
Joined: 2 Years Ago
Location: Egypt
Has thanked: 32 times
Been thanked: 108 times
Age: 22
Contact:

#6

Post by Raheem » 3 Months Ago

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
You don't know? Learn and you will know.

Papo4ka
Member
Member
Posts: 12
Joined: 3 Months Ago
Has thanked: 1 time
Been thanked: 0
Contact:

#7

Post by Papo4ka » 3 Months Ago

Somehow strange, reinstalled the system, now there is a connection

User avatar
Raheem
Mod Developer
Mod Developer
Egypt
Posts: 1972
Joined: 2 Years Ago
Location: Egypt
Has thanked: 32 times
Been thanked: 108 times
Age: 22
Contact:

#8

Post by Raheem » 3 Months Ago

So problem solved?
You don't know? Learn and you will know.

Papo4ka
Member
Member
Posts: 12
Joined: 3 Months Ago
Has thanked: 1 time
Been thanked: 0
Contact:

#9

Post by Papo4ka » 3 Months Ago

Yes

User avatar
Luxurious
Senior Member
Senior Member
Egypt
Posts: 149
Joined: 1 Year Ago
Location: Egypt
Has thanked: 3 times
Been thanked: 4 times
Contact:

#10

Post by Luxurious » 3 Months Ago

Raheem wrote:
3 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
BeTalk Zombie-Escape V1.4
IP : 51.77.103.159:27015

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest