Courses

Stripe Checkout Form with Laravel Cashier

avatar

I've installed the package in order to follow up.. I've created a database with name of 'project4' as it's named inside the 'env' file... I'm trying to 'php artisan migrate' but it returns an error as below: ' Access denied for user 'forge'@'localhost' (using password: NO) (SQL: select * from inform...' note that I'm new to installing projects from Git-repositiries .. and I've questions: 1- isn't this the right way approaching a database? from the 'env' file? 2- I noticed this file 'config/database.php' that contains 'mysql' ..etc. and I think it's the one causing the error, so my question is why there're two files for database? I'm confused about this. I've created a new db. with name of 'forge' as mentioned in this file.. but sitll not working..

avatar

I just found the answer.. I just have to replace the 'env.example. file with one of mine ..