www.betganhos.com Open in urlscan Pro
2606:4700:3034::ac43:d2ed  Public Scan

URL: https://www.betganhos.com/
Submission: On December 03 via api from US — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

Illuminate\Database\QueryException: SQLSTATE[HY000] [2002] Connection refused (Connection: mysql, SQL: select * from information_schema.tables where table_schema = demo and table_name = settings and table_type = 'BASE TABLE') in file /home4/expan439/public_html/victor/cassino.com.br/vendor/laravel/framework/src/Illuminate/Database/Connection.php on line 801

#0 /home4/expan439/public_html/victor/cassino.com.br/vendor/laravel/framework/src/Illuminate/Database/Connection.php(951): Illuminate\Database\Connection->runQueryCallback('select * from i...', Array, Object(Closure))
#1 /home4/expan439/public_html/victor/cassino.com.br/vendor/laravel/framework/src/Illuminate/Database/Connection.php(930): Illuminate\Database\Connection->tryAgainIfCausedByLostConnection(Object(Illuminate\Database\QueryException), 'select * from i...', Array, Object(Closure))
#2 /home4/expan439/public_html/victor/cassino.com.br/vendor/laravel/framework/src/Illuminate/Database/Connection.php(757): Illuminate\Database\Connection->handleQueryException(Object(Illuminate\Database\QueryException), 'select * from i...', Array, Object(Closure))
#3 /home4/expan439/public_html/victor/cassino.com.br/vendor/laravel/framework/src/Illuminate/Database/Connection.php(407): Illuminate\Database\Connection->run('select * from i...', Array, Object(Closure))
#4 /home4/expan439/public_html/victor/cassino.com.br/vendor/laravel/framework/src/Illuminate/Database/Connection.php(394): Illuminate\Database\Connection->select('select * from i...', Array, false)
#5 /home4/expan439/public_html/victor/cassino.com.br/vendor/laravel/framework/src/Illuminate/Database/Schema/MySqlBuilder.php(43): Illuminate\Database\Connection->selectFromWriteConnection('select * from i...', Array)
#6 /home4/expan439/public_html/victor/cassino.com.br/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(353): Illuminate\Database\Schema\MySqlBuilder->hasTable('settings')
#7 /home4/expan439/public_html/victor/cassino.com.br/app/Providers/SettingServiceProvider.php(26): Illuminate\Support\Facades\Facade::__callStatic('hasTable', Array)
#8 /home4/expan439/public_html/victor/cassino.com.br/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): App\Providers\SettingServiceProvider->boot()
#9 /home4/expan439/public_html/victor/cassino.com.br/vendor/laravel/framework/src/Illuminate/Container/Util.php(41): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#10 /home4/expan439/public_html/victor/cassino.com.br/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\Container\Util::unwrapIfClosure(Object(Closure))
#11 /home4/expan439/public_html/victor/cassino.com.br/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\Container\BoundMethod::callBoundMethod(Object(Illuminate\Foundation\Application), Array, Object(Closure))
#12 /home4/expan439/public_html/victor/cassino.com.br/vendor/laravel/framework/src/Illuminate/Container/Container.php(662): Illuminate\Container\BoundMethod::call(Object(Illuminate\Foundation\Application), Array, Array, NULL)
#13 /home4/expan439/public_html/victor/cassino.com.br/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1010): Illuminate\Container\Container->call(Array)
#14 /home4/expan439/public_html/victor/cassino.com.br/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(991): Illuminate\Foundation\Application->bootProvider(Object(App\Providers\SettingServiceProvider))
#15 [internal function]: Illuminate\Foundation\Application->Illuminate\Foundation\{closure}(Object(App\Providers\SettingServiceProvider), 36)
#16 /home4/expan439/public_html/victor/cassino.com.br/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(990): array_walk(Array, Object(Closure))
#17 /home4/expan439/public_html/victor/cassino.com.br/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php(17): Illuminate\Foundation\Application->boot()
#18 /home4/expan439/public_html/victor/cassino.com.br/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(261): Illuminate\Foundation\Bootstrap\BootProviders->bootstrap(Object(Illuminate\Foundation\Application))
#19 /home4/expan439/public_html/victor/cassino.com.br/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(186): Illuminate\Foundation\Application->bootstrapWith(Array)
#20 /home4/expan439/public_html/victor/cassino.com.br/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(170): Illuminate\Foundation\Http\Kernel->bootstrap()
#21 /home4/expan439/public_html/victor/cassino.com.br/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))
#22 /home4/expan439/public_html/victor/cassino.com.br/public/index.php(51): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
#23 {main}


 * Stack
 * Context
 * Flare

 * Share
   
   SHARE WITH FLARE
   
   Docs
    * Stack
    * Context
    * Debug
   
   Create Share
 * Docs

 * IGNITION SETTINGS
   
   Docs
   Editor
   ClipboardSublimeTextMateEmacsMacVimPhpStormPHPStorm RemoteIdeaVS CodeVS Code
   InsidersVS Code RemoteVS Code Insiders RemoteVS CodiumAtomNovaNetBeansXdebug
   
   Theme
   auto
   Save settings
   
   Settings will be saved locally in ~/.ignition.json.

SQLSTATE[HY000] [2002] Connection refused (Connection: mysql, SQL: select * from
information_schema.tables where table_schema = demo and table_name = settings
and table_type = 'BASE TABLE')
Illuminate \ Database \ QueryException
PHP 8.2.1310.28.0
SQLSTATE[HY000] [2002] Connection refused

select * from information_schema.tables where table_schema = demo and table_name = settings and table_type = 'BASE TABLE'



Expand vendor frames
 1. 8 vendor frames
 2. App \ Providers \ SettingServiceProvider : 26
    boot
 3. 
 4. 7 vendor frames
 5. .unknown0
    array_walk
 6. 7 vendor frames

app / Providers / SettingServiceProvider.php : 26

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33


use Illuminate\Support\Facades\Schema;
use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Facades\DB;

class SettingServiceProvider extends ServiceProvider
{
    /**
     * Register services.
     */
    public function register(): void
    {
        //
    }

    /**
     * Bootstrap services.
     */
    public function boot(): void
    {

        if (DB::connection()->getDatabaseName()) {
            if (Schema::hasTable('settings')) {
                $setting = \Helper::getSetting();
                config()->set('setting', $setting);
            }
        }
    }
}


arguments
$method:string

"hasTable"


$args:array

[
    "settings"
]


 * Request
   * Browser
   * Headers
   * Body
 * Context
   * Versions
   * Exception


REQUEST

http://www.betganhos.com/
GET

curl "http://www.betganhos.com/" \
   -X GET \
   -H 'accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7' \
   -H 'accept-encoding: gzip' \
   -H 'accept-language: de-DE,de;q=0.9' \
   -H 'connection: Keep-Alive' \
   -H 'host: www.betganhos.com' \
   -H 'pragma: no-cache' \
   -H 'user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.6045.199 Safari/537.36' \
   -H 'cache-control: no-cache' \
   -H 'cf-ray: 82fecdacfca9047e-FRA' \
   -H 'x-forwarded-proto: https' \
   -H 'cf-visitor: {"scheme":"https"}' \
   -H 'upgrade-insecure-requests: 1' \
   -H 'sec-fetch-site: none' \
   -H 'sec-fetch-mode: navigate' \
   -H 'sec-fetch-user: ?1' \
   -H 'sec-fetch-dest: document' \
   -H 'cf-connecting-ip: 2a01:4a0:1338:92::7' \
   -H 'cdn-loop: cloudflare' \
   -H 'cf-ipcountry: DE';




BROWSER

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.6045.199 Safari/537.36




HEADERS

accept

text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7


accept-encoding

gzip


accept-language

de-DE,de;q=0.9


connection

Keep-Alive


host

www.betganhos.com


pragma

no-cache


user-agent

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.6045.199 Safari/537.36


cache-control

no-cache


cf-ray

82fecdacfca9047e-FRA


x-forwarded-proto

https


cf-visitor

{"scheme":"https"}


upgrade-insecure-requests

1


sec-fetch-site

none


sec-fetch-mode

navigate


sec-fetch-user

?1


sec-fetch-dest

document


cf-connecting-ip

2a01:4a0:1338:92::7


cdn-loop

cloudflare


cf-ipcountry

DE




BODY

[]




CONTEXT


VERSIONS

Php Version

8.2.13


Laravel Version

10.28.0


Laravel Locale

pt_BR


Laravel Config Cachedfalse
App Debugtrue
App Env

local




EXCEPTION

Raw Sql

select * from information_schema.tables where table_schema = ? and table_name = ? and table_type = 'BASE TABLE'




FLARE IS YOUR ERROR PAGE FOR PRODUCTION.

Start tracking errors in your application within minutes with Flare.
Flare provides exceptional error monitoring designed specifically for Laravel
applications.

Learn more →Use code IGNITION for 50% off your first month.