Page 1 of 1
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
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:
so the final must be:
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:
ze_ec_host "" // Database ip
ze_ec_user "" // Database account username
ze_ec_pass "" // Database account password
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 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
Re: No connection to the Database
Posted: 05 Aug 2019, 19:23
by Muhammet20
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:
ze_ec_host "" // Database ip
ze_ec_user "" // Database account username
ze_ec_pass "" // Database account password
ze_ec_dbname "" // Database name
Re: No connection to the Database
Posted: 05 Aug 2019, 19:52
by Luxurious
bro, make as
@Raheem
Raheem wrote: ↑4 years ago
In zombie_escape.cfg make sure of these:
ze_ec_host "" // Database ip
ze_ec_user "" // Database account username
ze_ec_pass "" // Database account password
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
Re: No connection to the Database
Posted: 05 Aug 2019, 20:05
by Raheem
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.
Re: No connection to the Database
Posted: 05 Aug 2019, 20:18
by Luxurious
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 !