Raised This Month: $404 Target: $400
 101% 

Database failure: Could not find driver "mysql"


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
MohammedAhmed
Member
Join Date: Feb 2017
Old 05-09-2018 , 03:19   Database failure: Could not find driver "mysql"
Reply With Quote #1

i got this error when server is start

PHP Code:
L 05/08/2018 18:36:00: [sourcebans.smxDatabase failureCould not find driver "mysql"See FAQhttps://sarabveer.github.io/SourceBans-Fork/faq/
L 05/08/2018 18:36:00: [sourcebans.smxDatabase failureCould not find driver "mysql"See FAQhttps://sarabveer.github.io/SourceBans-Fork/faq/
L 05/08/2018 18:36:00: [sourcebans.smxDatabase failureCould not find driver "mysql"See FAQhttps://sarabveer.github.io/SourceBans-Fork/faq/
L 05/08/2018 18:36:00: [sourcebans.smxDatabase failureCould not find driver "mysql"See FAQhttps://sarabveer.github.io/SourceBans-Fork/faq/
L 05/08/2018 18:59:37: [sourcebans.smxDatabase failureCould not find driver "mysql"See FAQhttps://sarabveer.github.io/SourceBans-Fork/faq/
L 05/08/2018 18:59:37: [sourcebans.smxDatabase failureCould not find driver "mysql"See FAQhttps://sarabveer.github.io/SourceBans-Fork/faq/
L 05/08/2018 18:59:37: [sourcebans.smxDatabase failureCould not find driver "mysql"See FAQhttps://sarabveer.github.io/SourceBans-Fork/faq/
L 05/08/2018 19:09:20: [sourcebans.smxDatabase failureCould not find driver "mysql"See FAQhttps://sarabveer.github.io/SourceBans-Fork/faq/
L 05/08/2018 19:09:20: [sourcebans.smxDatabase failureCould not find driver "mysql"See FAQhttps://sarabveer.github.io/SourceBans-Fork/faq/
L 05/08/2018 19:09:20: [sourcebans.smxDatabase failureCould not find driver "mysql"See FAQhttps://sarabveer.github.io/SourceBans-Fork/faq/
L 05/08/2018 19:31:07: [sourcebans.smxDatabase failureCould not find driver "mysql"See FAQhttps://sarabveer.github.io/SourceBans-Fork/faq/
L 05/08/2018 19:31:07: [sourcebans.smxDatabase failureCould not find driver "mysql"See FAQhttps://sarabveer.github.io/SourceBans-Fork/faq/
L 05/08/2018 19:31:07: [sourcebans.smxDatabase failureCould not find driver "mysql"See FAQhttps://sarabveer.github.io/SourceBans-Fork/faq/ 


my Database.cfg

PHP Code:
"Databases"
{
    
"driver_default"        "mysql"

    "sourcebans"
    
{
        
"driver"            "default"
        "host"                "localhost"
        "database"            "bans"
        "user"                "root"
        "pass"                "******"
        
//"timeout"            "0"
        
"port"            "3306"
    
}
    
    
// When specifying "host", you may use an IP address, a hostname, or a socket file path
    
    
"default"
    
{
        
"driver"            "default"
        "host"                "localhost"
        "database"            "sourcemod"
        "user"                "root"
        "pass"                ""
        
//"timeout"            "0"
        //"port"            "0"
    
}
    
    
"storage-local"
    
{
        
"driver"            "sqlite"
        "database"            "sourcemod-local"
    
}

    
"clientprefs"
    
{
        
"driver"            "sqlite"
        "host"                "localhost"
        "database"            "clientprefs-sqlite"
        "user"                "root"
        "pass"                ""
        
//"timeout"            "0"
        //"port"            "0"
    
}

__________________
MohammedAhmed is offline
Groruk
AlliedModders Donor
Join Date: Jul 2016
Old 05-09-2018 , 10:32   Re: Database failure: Could not find driver "mysql"
Reply With Quote #2

Quote:
Originally Posted by MohammedAhmed View Post
i got this error when server is start

PHP Code:
Database failureCould not find driver "mysql"
The SourceBans++ Documentation has this error covered.

Quote:
PHP Code:
[sourcebans.smx
PHP Code:
See FAQhttps://sarabveer.github.io/SourceBans-Fork/faq/ 
And you should definitely update your SourceBans++ installation as you are several versions behind.
Groruk is online now
MohammedAhmed
Member
Join Date: Feb 2017
Old 05-10-2018 , 06:15   Re: Database failure: Could not find driver "mysql"
Reply With Quote #3

Thank you so much bro
i just run this command ( apt-get install lib32z1 )
now server work fine without error
__________________

Last edited by MohammedAhmed; 05-10-2018 at 06:15.
MohammedAhmed 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 19:00.


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