AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   SourceBans / SourceBans++ (https://forums.alliedmods.net/forumdisplay.php?f=152)
-   -   Database failure: Could not find driver "mysql" (https://forums.alliedmods.net/showthread.php?t=307413)

MohammedAhmed 05-09-2018 03:19

Database failure: Could not find driver "mysql"
 
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"
    
}



Groruk 05-09-2018 10:32

Re: Database failure: Could not find driver "mysql"
 
Quote:

Originally Posted by MohammedAhmed (Post 2591389)
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.

MohammedAhmed 05-10-2018 06:15

Re: Database failure: Could not find driver "mysql"
 
Thank you so much bro
i just run this command ( apt-get install lib32z1 )
now server work fine without error


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

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