Solved No connection to the Database

Installation Problems Support
Post Reply
Papo4ka
Member
Member
Posts: 12
Joined: 4 years ago
Contact:

No connection to the Database

#1

Post by Papo4ka » 4 years 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

Muhammet20
Veteran Member
Veteran Member
Posts: 408
Joined: 5 years ago
Contact:

#2

Post by Muhammet20 » 4 years ago

post your modules.ini

Papo4ka
Member
Member
Posts: 12
Joined: 4 years ago
Contact:

#3

Post by Papo4ka » 4 years 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: 598
Joined: 7 years ago
Contact:

#4

Post by czirimbolo » 4 years ago

try with Mysql module 1.8.2
Image

Muhammet20
Veteran Member
Veteran Member
Posts: 408
Joined: 5 years ago
Contact:

#5

Post by Muhammet20 » 4 years 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.

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#6

Post by Raheem » 4 years 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
He who fails to plan is planning to fail

Papo4ka
Member
Member
Posts: 12
Joined: 4 years ago
Contact:

#7

Post by Papo4ka » 4 years ago

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

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#8

Post by Raheem » 4 years ago

So problem solved?
He who fails to plan is planning to fail

Papo4ka
Member
Member
Posts: 12
Joined: 4 years ago
Contact:

#9

Post by Papo4ka » 4 years ago

Yes

User avatar
Luxurious
Mod Tester
Mod Tester
Egypt
Posts: 177
Joined: 6 years ago
Location: Egypt
Contact:

#10

Post by Luxurious » 4 years ago

Raheem wrote: 4 years agoSo 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
DRK Zombie-Escape V1.6
IP : 81.169.153.129:27015

Muhammet20
Veteran Member
Veteran Member
Posts: 408
Joined: 5 years ago
Contact:

#11

Post by Muhammet20 » 4 years ago

Luxurious wrote: 4 years ago
Raheem wrote: 4 years agoSo 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
bro, make as @Raheem
Raheem wrote: 4 years 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

User avatar
Luxurious
Mod Tester
Mod Tester
Egypt
Posts: 177
Joined: 6 years ago
Location: Egypt
Contact:

#12

Post by Luxurious » 4 years ago

bro, make as @Raheem
Raheem wrote: 4 years 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
That What i did

Code: Select all

ze_ec_host "localhost"			// Database ip
ze_ec_user "xx"			// Database account username
ze_ec_pass "xx"			// Database account password
ze_ec_dbname "xx"	// Database name

DRK Zombie-Escape V1.6
IP : 81.169.153.129:27015

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#13

Post by Raheem » 4 years ago

This because remote connection not enabled i think, the database installed on same machine you host your server on?

Also open new topic because your problem not same as this.
He who fails to plan is planning to fail

User avatar
Luxurious
Mod Tester
Mod Tester
Egypt
Posts: 177
Joined: 6 years ago
Location: Egypt
Contact:

#14

Post by Luxurious » 4 years ago

Raheem wrote: 4 years ago This because remote connection not enabled i think, the database installed on same machine you host your server on?

Also open new topic because your problem not same as this.
viewtopic.php?f=11&t=3679#p10435

Here is the link bro , pleas help as fast as u can !
DRK Zombie-Escape V1.6
IP : 81.169.153.129:27015

Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Who is online

Users browsing this forum: No registered users and 9 guests