SQLSTATE at Laravel deployment [42S02]

plans to deploy the Laravel project to the cloud server today.
uploads the local project FTP to the server
and changes the name, user name and password of the local database to the database information on the server

in the .env file.

then prepare to use php artisan migrate to create the data table, only to report the following error

Jun.09,2022

when executing php artisan and related commands, Provider
checks the contents of the registered Gate in Provider, in which the database is used.
so comment out the registered Gate first
create the data table through php artisan migrate, and then restore


prompt you that a SQL table admin_permissions has not been found. Check to see if there is a definition of this table in your Laravel framework

Menu