You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and am at the step where I am supposed to run php artisan migrate --path=database/migrations/landlord --database=landlord
However, I am getting this error: Undefined variable: host (SQL: select * from information_schema.tables where table_schema = landlord and table_name = migrations and table_type = 'BASE TABLE')
I've checked my mysql, it is running, and I have created the database called landlord.
Just wondering why this might be occurring and if there is a fix?
The text was updated successfully, but these errors were encountered:
@rxng seems that you using an undefined $host variable in your config/database.php or in your DatabaseSwitchTask. As said @freekmurze, please post your stack trace. Thanks
Hi, I am following the instructions from https://docs.spatie.be/laravel-multitenancy/v1/installation/using-multiple-databases/
and am at the step where I am supposed to run
php artisan migrate --path=database/migrations/landlord --database=landlord
However, I am getting this error:
Undefined variable: host (SQL: select * from information_schema.tables where table_schema = landlord and table_name = migrations and table_type = 'BASE TABLE')
I've checked my mysql, it is running, and I have created the database called landlord.
Just wondering why this might be occurring and if there is a fix?
The text was updated successfully, but these errors were encountered: