Raised This Month: $252 Target: $400

WEB fresh install: could not find driver

Post New Thread Reply   
Thread Tools Display Modes
Author Message
New Member
Join Date: May 2020
Old 05-13-2020 , 12:24   WEB fresh install: could not find driver
Reply With Quote #1

I'm getting this error when trying to install sourceban

I'm running php 7.2 and mysql ver 14.14 distrib 5.7.30

I have these PHP extensions enabled
Meldgaard is offline
AlliedModders Donor
Join Date: Aug 2009
Location: Cambridge, UK
Old 05-16-2020 , 09:43   Re: WEB fresh install: could not find driver
Reply With Quote #2

Assuming you've got your SourceBans all uploaded and your web server supports the SourceBans' requirements; open up config.php and be sure you've entered your database information correctly.

PHP Code:
define('DB_HOST''localhost');                       // If your database is on the same web server as your SourceBans, use 'localhost'.
define('DB_USER''Database username here');                        // The username to connect with
define('DB_PASS''Your DB user password');                        // The password
define('DB_NAME''Your DB name');                          // Database name
define('DB_PREFIX''sb');                    // The table prefix for SourceBans (Leave it as is)
define('DB_PORT''3306');                            // The SQL port (Default: 3306) (Leave as is)
define('DB_CHARSET''utf8mb4');                    // The Database charset (Default: utf8) (Leave as is)
define('STEAMAPIKEY''Your Steam API key here');                // Steam API Key for Shizz
define('SB_WP_URL''Your full SourceBans URL here');                       //URL of SourceBans Site
define('SB_EMAIL''Email here'); 
HiddenConn1 is offline
Great Tester of Whatever
Join Date: Dec 2016
Location: US
Old 05-25-2020 , 02:26   Re: WEB fresh install: could not find driver
Reply With Quote #3

Install php-mysql package

Fingerprint: 91CC4E84AE4BFA89F2E431DD462F405E7D61ED35

Reach me @ https://keybase.io/rumblefrog

Github: https://github.com/rumblefrog

RumbleFrog is offline

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 01:59.

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