What is this error when running php Artisan migrate

Asked

Viewed 38 times

3

Hello, I created an application with Laravel 5.7 and running php Artisan migrate shows this error inserir a descrição da imagem aqui

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 ?

  • Yes, I’ve created... Just no tables!

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.