-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
php artisan migrate --seed problem #58
Comments
Do you have a localhost server running? |
bro replace your .env file with this copy below the lines of ENV variables and past it in your.env file APP_NAME="Triangle POS" DEBUGBAR_ENABLED=false LOG_CHANNEL=stack DB_CONNECTION=mysql BROADCAST_DRIVER=log MEMCACHED_HOST=127.0.0.1 REDIS_HOST=127.0.0.1 MAIL_MAILER=smtp AWS_ACCESS_KEY_ID= PUSHER_APP_ID= MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}" |
Illuminate\Database\QueryException
SQLSTATE[HY000] [2002] No such file or directory (Connection: mysql, SQL: select table_name as
name
, (data_length + index_length) assize
, table_comment ascomment
, engine asengine
, table_collation ascollation
from information_schema.tables where table_schema = 'kasir' and table_type in ('BASE TABLE', 'SYSTEM VERSIONED') order by table_name)at vendor/laravel/framework/src/Illuminate/Database/Connection.php:829
825▕ $this->getName(), $query, $this->prepareBindings($bindings), $e
826▕ );
827▕ }
828▕
➜ 829▕ throw new QueryException(
830▕ $this->getName(), $query, $this->prepareBindings($bindings), $e
831▕ );
832▕ }
833▕ }
40 artisan:35
Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
If i run command php artisan migrate --seed on my visual studio code terminal it turns like this. How to solve it?
The text was updated successfully, but these errors were encountered: