What is your error?
This is the error message when I type "php artisan migrate"
exception 'PDOException' with message 'SQLSTATE[HY000] [2002] No connection could be made because the target machine ac
tively refused it.
' in C:\xampp\htdocs\laravel\demo-l5\vendor\laravel\framework\src\Illuminate\Database\Connectors\Connector.php:47
Stack trace:
Hi
Looks like it is looking for a database.
You can set it up by entering your database details in the .env file in the root and choose your type of database in the default section in database.php file in the config folder.
Make sure the user and pass for the db has permission to access the db you are trying to use.
I am using Laragon to run laravel in windows 8, it is quick and easy.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community