Skip to content

can't run code #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
mohamad-bin-idrus opened this issue May 14, 2024 · 1 comment
Open

can't run code #1

mohamad-bin-idrus opened this issue May 14, 2024 · 1 comment

Comments

@mohamad-bin-idrus
Copy link

mohamad-bin-idrus commented May 14, 2024

i just wanna run and that error appears. can you help me?
Cuplikan layar 2024-05-14 213538

@ProjectsAndPrograms
Copy link
Owner

The problem may be occure due to several reasons :

  1. Check your .env file: The database credentials for Laravel are typically stored in the .env file located at the root of your Laravel project. Make sure that the DB_USERNAME and DB_PASSWORD variables in this file match the credentials for your MySQL database user.

  2. check your database is created with the proper schema of not.

Additional resources that you may find helpful:
Laravel documentation on database configuration: https://laravel.com/docs/4.2/database

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants