![]()
FIELD LINE
Скорее всего, после установки sourcebans на выделенный сервер у многих возникала данная ошибка в логах.
Сервер не может соединиться с базой данных mysql из за отсутствия драйвера mysql в sourcebans.
Проблема решается очень просто.
Требуется установить пакет zlib.
Вам потребуется ssh доступ для установки пакетов, в зависимости от типа используемого вами Linux дистрибутива на сервере.
Решение для Linux Gentoo x64:
Если у нас 64 битный дистрибутив gentoo, то может возникнуть проблема, которая очень просто решается.
i’m having issues connecting to my database on a web host that I have, i’m using the following:
According to the website: Host Name mysql1.hosting.digiweb.ie (ip address)
as the title says i’m getting a could not find driver error, am i entering the host incorrectly i tried entering whats above and also the ip address — Thanks!
Hi I’ve been going at this for literally hours now.
I’ve currently running my game server on a VPS (Ubuntu 14.04 x64).
This is where I currently am.
-Meta mod 1.10 -Sourcemod 1.5.4-git4078.tar.gz -SourceBans 1.4.11
I’ve successfully completed the web installation. Although i am having trouble getting the game server to contact the webserver.
This is the output of the log.
That link is dead not very usefull. Some people say to install apt-get install lib32z1 which I did (Do i need to configure it anyway?) which did not work unfortunatly.
From the VPS I did manage to connect to my external mysql database using the mysql installed.
Is there anything else I should do?
My databases file. I 

1 Answer 1
This means the mysql extension is not running correctly. Check that the following file exists:
If it does, make sure it has execute-permissions ( chmod u+x dbi.mysql.ext.so ).
If that doesn’t help, the next most common problem (from this thread) seems to be missing the 32-bit zlib library. Try installing it on your system: