Closed Fatima-hub333 closed 2 years ago
you have to create the database 'smarthr' before running migrations.
set the appropriate values for the following environment variables:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=smarthr
DB_USERNAME=root
DB_PASSWORD=
make sure the value for DB_DATABASE is the name of the database you created. And also set the username and password to your database.
you have to create the database 'smarthr' before running migrations.
set the appropriate values for the following environment variables:
DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=smarthr DB_USERNAME=root DB_PASSWORD=
make sure the value for DB_DATABASE is the name of the database you created. And also set the username and password to your database.
I did this. I create DB with the name of 'smarthr' and after that run this command
Hi, I am facing an issue while migrating the database "php artisan migrate --seed" while running this command facing the attached below issue, kindly help me in this error, how can I resolve it?