3
Hello, I created an application with Laravel 5.7 and running php Artisan migrate shows this error
What this error means and how to correct?
Follow my.php database
<?php
return [
'default' => env('DB_CONNECTION', 'mysql'),
'connections' => [
'sqlite' => [
'driver' => 'sqlite',
'database' => env('DB_DATABASE', database_path('database.sqlite')),
'prefix' => '',
'foreign_key_constraints' => env('DB_FOREIGN_KEYS', true),
],
'mysql' => [
'driver' => 'mysql',
'host' => env('DB_HOST', 'localhost'),
'port' => env('DB_PORT', '3306'),
'database' => env('DB_DATABASE', 'laravel_db'),
'username' => env('DB_USERNAME', 'root'),
'password' => env('DB_PASSWORD', ''),
'unix_socket' => env('DB_SOCKET', ''),
'charset' => 'utf8mb4',
'collation' => 'utf8_bin',
'prefix' => '',
'prefix_indexes' => true,
'strict' => true,
'engine' => null,
],
?>
The bank already exists ?
– novic
Yes, I’ve created... Just no tables!
– GustavoSevero