Home>
I want to achieve

After moving to the laravel project and creating a table, running php artisan migrate is an error. Please let me know the question

Error message
at C: \ Users \ n \ Desktop \ app2 \ vendor \ laravel \ framework \ src \ Illuminate \ Database \ Connection.php: 664
    660 | // If an exception occurs when attempting to run a query, we'll format the error
    661 | // message to include the bindings with SQL, which will make this exception a
    662 | // lot more helpful to the developer instead of just the database's errors.
    663 | catch (Exception $e) {
  >664 | throw new QueryException (
    665 | $query, $this->prepareBindings ($bindings), $e
    666 |);
    667 |
    668 |
  Exception trace:
      C: \ Users \ n \ Desktop \ app2 \ vendor \ laravel \ framework \ src \ Illuminate \ Database \ Connectors \ Connector.php: 70
  2 PDO :: __ construct ("mysql: host = 127.0.0.1;port = 3306;dbname = homestead", "homestead", "secret", [])
      C: \ Users \ n \ Desktop \ app2 \ vendor \ laravel \ framework \ src \ Illuminate \ Database \ Connectors \ Connector.php: 70
  Please use the argument -v to see more details.
Supplemental information (FW/tool version etc.)

https://www.tutorialfor.com/go.php?id=122336 was in the same situation, so let ’s check it out.

OS: windows10