Raised This Month: $12 Target: $400
 3% 

Driver not Found


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
painlesstgp
Senior Member
Join Date: May 2019
Location: Sweden
Old 03-17-2021 , 06:13   Driver not Found
Reply With Quote #1

Just recently got an OVH, and installed linuxgsm on it, and trying to connect a DB from a webhost.

I've asked them to whitelist the VPS's IP and they have done it but it still says

kento_rankme.smx (RankMe): [RankMe] Unable to connect to the database (Driver "" not found)
mostactive.smx (SM Most Active): Databases dont work
sbpp_checker.smx (SourceBans++: Bans Checker): Failed to connect to SourceBans DB, Could not find driver "mysql"


Any idea? I am clueless and i really wanna get the srv up n running.

Regards.
painlesstgp is offline
TomL.
Veteran Member
Join Date: Oct 2017
Location: Germany
Old 03-17-2021 , 07:00   Re: Driver not Found
Reply With Quote #2

It literally says right there:
Code:
Could not find driver "mysql"
You need to install the mysql driver.
TomL. is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 03-17-2021 , 09:26   Re: Driver not Found
Reply With Quote #3

The MySQL extension has probably failed to load, check the "sm exts list" command.

A common cause of this is your OS missing the 32-bit zlib/libz package.

Quote:
Originally Posted by TomL. View Post
You need to install the mysql driver.
It is part of SourceMod.
__________________
asherkin is offline
TomL.
Veteran Member
Join Date: Oct 2017
Location: Germany
Old 03-17-2021 , 14:30   Re: Driver not Found
Reply With Quote #4

Quote:
Originally Posted by asherkin View Post
The MySQL extension has probably failed to load, check the "sm exts list" command.

A common cause of this is your OS missing the 32-bit zlib/libz package.



It is part of SourceMod.
Sorry, extension.
TomL. is offline
oqyh
Senior Member
Join Date: May 2019
Location: United Arab Emirates
Old 03-17-2021 , 16:51   Re: Driver not Found
Reply With Quote #5

Quote:
Originally Posted by painlesstgp View Post
Just recently got an OVH, and installed linuxgsm on it, and trying to connect a DB from a webhost.

I've asked them to whitelist the VPS's IP and they have done it but it still says

kento_rankme.smx (RankMe): [RankMe] Unable to connect to the database (Driver "" not found)
mostactive.smx (SM Most Active): Databases dont work
sbpp_checker.smx (SourceBans++: Bans Checker): Failed to connect to SourceBans DB, Could not find driver "mysql"


Any idea? I am clueless and i really wanna get the srv up n running.

Regards.

You're missing a lib

Code:
Code:
apt-get install lib32z1
OR

Code:
Code:
apt-get install lib64z1

Last edited by oqyh; 03-17-2021 at 16:52.
oqyh is offline
painlesstgp
Senior Member
Join Date: May 2019
Location: Sweden
Old 03-19-2021 , 05:56   Re: Driver not Found
Reply With Quote #6

Issue solved, thanks for answering guys!
painlesstgp 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 07:32.


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