After I created the project with the command composer create-project --prefer-dist laravel/laravel laravel-scout
I made the following changes in the .env file
DB_DATABASE=course
DB_USERNAME=root
DB_PASSWORD=1234
Then I created the database with the same name as course
Then I ran the php artisan migrate command within the project, and generated this error;
PS C:\Users\wladimir\Desktop\php\laravel-scout> php artisan migrate
Migration table created successfully.
[Illuminate\Database\QueryException]
SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes (SQL: alter table 'users' add unique 'users_email_unique'('email')
)
[PDOException]
SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes
PS C:\Users\wladimir\Desktop\php\laravel-scout>
Note: I'm running Xampp , it's an application that installs PHP and Mysql.