Recent Topics

Post installation getting database error



  • I have installed Bagisto v1.1.2-0-gc88ca31 on hosting post installation getting below error, kindly help me

    Illuminate \ Database \ QueryException (42S02)
    SQLSTATE[42S02]: Base table or view not found: 1146 Table 'my_db.channels' doesn't exist (SQL: select * from channels where code = default)
    Previous exceptions
    SQLSTATE[42S02]: Base table or view not found: 1146 Table 'my_db.channels' doesn't exist (42S02)
    SQLSTATE[42S02]: Base table or view not found: 1146 Table 'my_db.channels' doesn't exist (42S02)



  • @zerovolt
    run the following command:

    composer dump-autoload
    php artisan migrate
    php artisan db:seed
    php artisan vendor:publish --force , press 0 to continue

    Thanks



  • @Vaishali-Agarwal
    No luck, getting some SQL error
    MySQL version is v5.6 and no way to upgrade on v5.7
    Checked with multiple Hosting, is any other way? please assist



  • Hi @zerovolt
    Do you want to upgrade the mysql version on the local server or on any hosting provider?


Log in to reply