Raised This Month: $23 Target: $400
 5% 

MySql Driver Not Found


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Chrissy
Member
Join Date: May 2013
Old 11-11-2019 , 20:20   MySql Driver Not Found
Reply With Quote #1

Hi,

I've recently had to reinstall the os on my dedi and I've been reinstalling all the packages etc. I've got the server running and all is good but for one thing. It can't connect to the database.

Code:
L 11/12/2019 - 00:54:09: [SM] Unable to load extension "dbi.mysql.ext": libz.so.1: cannot open shared object file: No such file or directory
L 11/12/2019 - 00:54:09: [sbpp_sleuth.smx] SourceSleuth: Database connection error: Could not find driver "mysql"
L 11/12/2019 - 00:54:09: [sbpp_main.smx] Database failure: Could not find driver "mysql". See Docs: https://sbpp.github.io/docs/
L 11/12/2019 - 00:54:09: [SM] Exception reported: Failed to connect to SourceBans DB, Could not find driver "mysql"
L 11/12/2019 - 00:54:09: [SM] Blaming: sbpp_checker.smx
I've installed a MySql server on the dedi and its running and listening on port 3306 but I still have this issue. The mysql database is on a remote server and worked fine before I reinstalled. This is the mysql version:

Code:
Server version          8.0.18
Protocol version        10
Connection              Localhost via UNIX socket
UNIX socket             /var/run/mysqld/mysqld.sock
Uptime:                 28 min 39 sec

Last edited by Chrissy; 11-11-2019 at 20:25.
Chrissy is offline
asdfxD
Veteran Member
Join Date: Apr 2011
Old 11-12-2019 , 00:23   Re: MySql Driver Not Found
Reply With Quote #2

Ubuntu/Debian
apt-get install lib32z1

Cent OS
yum install zlib.i686

Last edited by asdfxD; 11-12-2019 at 00:30.
asdfxD is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:41.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode