Comments (2)
Hi @mtmfahath
In order to resolve the problem, please check and follow this steps:
1- First, check that exists the .env
file. You can use/copy as base this file: .env.example
$ cp .env.example .env
2- Edit and complete this configuration file: .env
. For example:
DB_HOSTNAME='yourMySqlHostname'
DB_DATABASE='yourMySqlDatabase'
DB_USERNAME='yourMySqlUsername'
DB_PASSWORD='yourMySqlPassword'
3- Check your MySQL connection (using the previous values).
4- If you can connect OK to your MySQL server, try again to run the command: composer database
.
Also, you can read this troubleshooting guide.
Let me know if you need more help.
from rest-api-slim-php.
Closed.
If you have any problem or suggestion, just reopen this issue.
from rest-api-slim-php.
Related Issues (17)
- Adding Port Setting HOT 1
- [ERROR] could not find driver - en composer restart-db HOT 4
- Error en restart-db.php HOT 2
- Add ACL to use endpoints HOT 1
- How to call getRouteCollector()->getRouteParser()
- Install warning HOT 1
- slim3 -> slim4 Error on php 8.2
- Auth not working HOT 2
- Test
- create user problem HOT 2
- Invalid HTTP status code HOT 2
- Gettin 500 error on every route with /[{id}] HOT 3
- [Features] Send Mail HOT 2
- Auto documentation HOT 1
- "migration" tool. HOT 1
- Issue on the database > Dependencies.php file HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rest-api-slim-php.