2 Answers
- Newest
- Most votes
- Most comments
1
I assume you have set up the connection information to MySQL in .env. Is the correct information set up?
Make sure MySQL is running.
For example, if you are running MySQL on Linux, you can check the status with the following command.
sudo systemctl status mysql
If it is stopped, you will need to start it with the following command.
sudo systemctl start mysql
0
Hi Sultan.
Where is your MySQL instance running? Is it RDS, a separate EC2 instance, or in the same EC2 instance as your application?
Thank you.
Relevant content
- asked 2 months ago
- asked 2 months ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
it should be in the same EC2 instance as my application