AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   SourceBans / SourceBans++ (https://forums.alliedmods.net/forumdisplay.php?f=152)
-   -   WEB fresh install: could not find driver (https://forums.alliedmods.net/showthread.php?t=324346)

Meldgaard 05-13-2020 12:24

WEB fresh install: could not find driver
 
I'm getting this error when trying to install sourceban
https://i.imgur.com/Zf9FiYS.png

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

I have these PHP extensions enabled
https://i.imgur.com/mRUDCYS.png

HiddenConn1 05-16-2020 09:43

Re: WEB fresh install: could not find driver
 
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'); 


RumbleFrog 05-25-2020 02:26

Re: WEB fresh install: could not find driver
 
Install php-mysql package


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

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