| ( ! ) Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it in C:\wamp64\www\Subdomains\dalr.ae\social\lib\db.php on line 8 | ||||
|---|---|---|---|---|
| ( ! ) PDOException: SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it in C:\wamp64\www\Subdomains\dalr.ae\social\lib\db.php on line 8 | ||||
| Call Stack | ||||
| # | Time | Memory | Function | Location |
| 1 | 0.0001 | 445360 | {main}( ) | ...\index.php:0 |
| 2 | 0.0002 | 531408 | db( $cfg = ['domain' => 'social.dalr.ae', 'base' => 'https://social.dalr.ae', 'db' => ['dsn' => 'mysql:host=10.0.0.27;dbname=social;charset=utf8mb4', 'user' => 'root', 'pass' => 'password'], 'session' => ['name' => 'dalr_social_sess'], 'discord' => ['client_id' => '749839873304690768', 'client_secret' => 'Adfp4OHKEGVu1U6pGx4kM9FyApnIKIz_', 'redirect_uri' => 'https://social.dalr.ae/oauth/discord/callback', 'scopes' => 'identify email'], 'uploads' => ['dir' => 'C:\\wamp64\\www\\Subdomains\\dalr.ae\\social/uploads', 'url_prefix' => 'https://social.dalr.ae/uploads', 'max_bytes' => 8388608, 'allowed_mimes' => [...]]] ) | ...\index.php:18 |
| 3 | 0.0002 | 532112 | __construct( $dsn = 'mysql:host=10.0.0.27;dbname=social;charset=utf8mb4', $username = 'root', $password = '[Sensitive Parameter]', $options = [3 => 2, 19 => 2, 20 => FALSE] ) | ...\db.php:8 |