Recent Topics

Problems With Install



  • Hello,

    I am attempting an install and I get stuck on the step: php artisan bagisto:install

    I am running on Windows 10 through Docker and Ubuntu.

    PHP 8.1.16
    Laravel Framework 9.20.0
    MySQL database running through XAMPP
    Client: Docker Engine - Community
    Version: 20.10.17
    API version: 1.41
    Go version: go1.17.11
    Git commit: 100c701
    Built: Mon Jun 6 23:02:57 2022
    OS/Arch: linux/amd64
    Context: default
    Experimental: true

    Here is the error I get:

    Step: Migrating all tables into database...

    In Connection.php line 759:

    SQLSTATE[HY000] [2002] Connection refused (SQL: SHOW FULL TABLES WHERE table_ty
    pe = 'BASE TABLE')

    In Exception.php line 18:

    SQLSTATE[HY000] [2002] Connection refused

    In PDOConnection.php line 40:

    SQLSTATE[HY000] [2002] Connection refused

    I know my environment is setup properly because I manually configured a Database connection from this environment and it works. I have added / changed the appropriate connections to the database in the .env and database.php files.

    Any help would be appreciated.

    Thanks.


Log in to reply