running sail artisan migrate gives an error

  laravel, php

hello everyone so I am new to Laravel I’ve started learning Laravel 7 then I upgraded from Laravel 7 to Laravel 8 and I am kind of lost
when ever I try to run a migration like this

sail artisan migrate

I get an error

sail : The term ‘sail’ is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the
path is correct and try again.
At line:1 char:1

  • sail artisan migrate
  •   + CategoryInfo          : ObjectNotFound: (sail:String) [], CommandNotFoundException      
      + FullyQualifiedErrorId : CommandNotFoundException 

so instead I have tried to run

php artisan migrate

but I also got an error

PDO::__construct("mysql:host=mysql;port=3306;dbname=store", "sail", "password", [])

so I am stuck at this point, any help would be really appreciated

I did read throw Laravel’s Documentation but I didn’t find a solution I’ve already did the steps to add sail to an existing project but I guess it didn’t work for some reason

thanks in advance for taking the time to read my question

Source: Ask PHP